pub struct ModelField {
pub name: Ident,
pub ty: ModelType,
}Fields§
§name: Ident§ty: ModelTypeTrait Implementations§
Source§impl Clone for ModelField
impl Clone for ModelField
Source§fn clone(&self) -> ModelField
fn clone(&self) -> ModelField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelField
impl Debug for ModelField
impl Eq for ModelField
Source§impl PartialEq for ModelField
impl PartialEq for ModelField
impl StructuralPartialEq for ModelField
Auto Trait Implementations§
impl Freeze for ModelField
impl RefUnwindSafe for ModelField
impl Send for ModelField
impl Sync for ModelField
impl Unpin for ModelField
impl UnsafeUnpin for ModelField
impl UnwindSafe for ModelField
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