pub struct Model {
pub name: String,
pub fields: Vec<Field>,
pub composite_indexes: Vec<CompositeIndex>,
pub soft_delete: bool,
}Fields§
§name: String§fields: Vec<Field>§composite_indexes: Vec<CompositeIndex>§soft_delete: boolTrait Implementations§
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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