pub struct ModelExample {
pub name: String,
pub value: String,
pub format: String,
}Expand description
Example for model
Fields§
§name: Stringname of the example
value: Stringvalue
format: Stringformat of value
Trait Implementations§
Source§impl Clone for ModelExample
impl Clone for ModelExample
Source§fn clone(&self) -> ModelExample
fn clone(&self) -> ModelExample
Returns a duplicate of the value. Read more
1.0.0 · 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 ModelExample
impl Debug for ModelExample
Source§impl<'de> Deserialize<'de> for ModelExample
impl<'de> Deserialize<'de> for ModelExample
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 ModelExample
impl RefUnwindSafe for ModelExample
impl Send for ModelExample
impl Sync for ModelExample
impl Unpin for ModelExample
impl UnwindSafe for ModelExample
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