pub struct EnumDef {
pub schema: String,
pub name: String,
pub values: Vec<String>,
}Expand description
Definition of a PostgreSQL enum type.
Fields§
§schema: StringSchema the enum belongs to.
name: StringName of the enum type.
values: Vec<String>Ordered list of enum label values.
Trait Implementations§
impl StructuralPartialEq for EnumDef
Auto Trait Implementations§
impl Freeze for EnumDef
impl RefUnwindSafe for EnumDef
impl Send for EnumDef
impl Sync for EnumDef
impl Unpin for EnumDef
impl UnsafeUnpin for EnumDef
impl UnwindSafe for EnumDef
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