pub struct EntityProperty {
pub key: Option<String>,
pub value: Option<Option<Value>>,
}
Expand description
EntityProperty : An entity property, for more information see Entity properties.
Fields§
§key: Option<String>
The key of the property. Required on create and update.
value: Option<Option<Value>>
The value of the property. Required on create and update.
Implementations§
Source§impl EntityProperty
impl EntityProperty
Sourcepub fn new() -> EntityProperty
pub fn new() -> EntityProperty
An entity property, for more information see Entity properties.
Trait Implementations§
Source§impl Clone for EntityProperty
impl Clone for EntityProperty
Source§fn clone(&self) -> EntityProperty
fn clone(&self) -> EntityProperty
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 EntityProperty
impl Debug for EntityProperty
Source§impl Default for EntityProperty
impl Default for EntityProperty
Source§fn default() -> EntityProperty
fn default() -> EntityProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityProperty
impl<'de> Deserialize<'de> for EntityProperty
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 EntityProperty
impl PartialEq for EntityProperty
Source§impl Serialize for EntityProperty
impl Serialize for EntityProperty
impl StructuralPartialEq for EntityProperty
Auto Trait Implementations§
impl Freeze for EntityProperty
impl RefUnwindSafe for EntityProperty
impl Send for EntityProperty
impl Sync for EntityProperty
impl Unpin for EntityProperty
impl UnwindSafe for EntityProperty
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