pub struct ModelDef {
pub name: String,
pub fields: Vec<FieldDef>,
pub attributes: Vec<BlockAttribute>,
pub span: Span,
}Expand description
model User { ... }
Fields§
§name: String§fields: Vec<FieldDef>§attributes: Vec<BlockAttribute>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for ModelDef
impl RefUnwindSafe for ModelDef
impl Send for ModelDef
impl Sync for ModelDef
impl Unpin for ModelDef
impl UnsafeUnpin for ModelDef
impl UnwindSafe for ModelDef
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