pub struct ModelProperty {
pub name: String255,
pub key: String255,
pub value: Value,
pub annotations: HashMap<Attribute, Value>,
}
Fields§
§name: String255
§key: String255
§value: Value
§annotations: HashMap<Attribute, Value>
Trait Implementations§
Source§impl Clone for ModelProperty
impl Clone for ModelProperty
Source§fn clone(&self) -> ModelProperty
fn clone(&self) -> ModelProperty
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 ModelProperty
impl Debug for ModelProperty
Source§impl Default for ModelProperty
impl Default for ModelProperty
Source§fn default() -> ModelProperty
fn default() -> ModelProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelProperty
impl<'de> Deserialize<'de> for ModelProperty
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
Source§impl PartialEq for ModelProperty
impl PartialEq for ModelProperty
Source§impl Serialize for ModelProperty
impl Serialize for ModelProperty
impl StructuralPartialEq for ModelProperty
Auto Trait Implementations§
impl Freeze for ModelProperty
impl RefUnwindSafe for ModelProperty
impl Send for ModelProperty
impl Sync for ModelProperty
impl Unpin for ModelProperty
impl UnwindSafe for ModelProperty
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