pub struct ModelRequirement {
pub name: String,
pub fields: Vec<FieldRequirement>,
}Expand description
Model requirement extracted from command
Fields§
§name: StringModel name
fields: Vec<FieldRequirement>List of fields
Trait Implementations§
Source§impl Clone for ModelRequirement
impl Clone for ModelRequirement
Source§fn clone(&self) -> ModelRequirement
fn clone(&self) -> ModelRequirement
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 ModelRequirement
impl Debug for ModelRequirement
Source§impl<'de> Deserialize<'de> for ModelRequirement
impl<'de> Deserialize<'de> for ModelRequirement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModelRequirement
impl RefUnwindSafe for ModelRequirement
impl Send for ModelRequirement
impl Sync for ModelRequirement
impl Unpin for ModelRequirement
impl UnsafeUnpin for ModelRequirement
impl UnwindSafe for ModelRequirement
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