pub struct EntityPreimage {
pub name: Option<String>,
pub description: Option<Option<String>>,
pub properties: Option<BTreeMap<String, PropertyValue>>,
pub tags: Option<Vec<String>>,
}Expand description
Prior entity values for exactly the fields touched by EntityPatch.
Fields§
§name: Option<String>§description: Option<Option<String>>§properties: Option<BTreeMap<String, PropertyValue>>Trait Implementations§
Source§impl Clone for EntityPreimage
impl Clone for EntityPreimage
Source§fn clone(&self) -> EntityPreimage
fn clone(&self) -> EntityPreimage
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 EntityPreimage
impl Debug for EntityPreimage
Source§impl<'de> Deserialize<'de> for EntityPreimage
impl<'de> Deserialize<'de> for EntityPreimage
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 EntityPreimage
impl PartialEq for EntityPreimage
Source§impl Serialize for EntityPreimage
impl Serialize for EntityPreimage
impl StructuralPartialEq for EntityPreimage
Auto Trait Implementations§
impl Freeze for EntityPreimage
impl RefUnwindSafe for EntityPreimage
impl Send for EntityPreimage
impl Sync for EntityPreimage
impl Unpin for EntityPreimage
impl UnsafeUnpin for EntityPreimage
impl UnwindSafe for EntityPreimage
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