pub struct Model {
pub name: String,
pub fields: Vec<Field>,
pub composite_indexes: Vec<CompositeIndex>,
pub projections: Vec<Projection>,
pub soft_delete: bool,
pub position: Option<Position>,
}Fields§
§name: String§fields: Vec<Field>§composite_indexes: Vec<CompositeIndex>§projections: Vec<Projection>§soft_delete: bool§position: Option<Position>Source position of the model name (None when synthesized).
Trait 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