Struct schema::DatabaseEnumType
source · pub struct DatabaseEnumType { /* private fields */ }
Implementations§
source§impl DatabaseEnumType
impl DatabaseEnumType
pub fn identifier(&self) -> &Identifier
pub fn map_input_value(&self, val: &str) -> Option<PrismaValue>
pub fn map_output_value(&self, val: &str) -> Option<PrismaValue>
pub fn external_values(&self) -> Vec<String>
Trait Implementations§
source§impl Clone for DatabaseEnumType
impl Clone for DatabaseEnumType
source§fn clone(&self) -> DatabaseEnumType
fn clone(&self) -> DatabaseEnumType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DatabaseEnumType
impl Debug for DatabaseEnumType
source§impl PartialEq for DatabaseEnumType
impl PartialEq for DatabaseEnumType
source§fn eq(&self, other: &DatabaseEnumType) -> bool
fn eq(&self, other: &DatabaseEnumType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatabaseEnumType
Auto Trait Implementations§
impl !RefUnwindSafe for DatabaseEnumType
impl Send for DatabaseEnumType
impl Sync for DatabaseEnumType
impl Unpin for DatabaseEnumType
impl !UnwindSafe for DatabaseEnumType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more