pub struct EntityPreimage {
pub name: Option<String>,
pub description: Option<Option<String>>,
pub properties: Option<BTreeMap<String, PropertyValue>>,
pub tags: Option<Vec<String>>,
pub entity_type: Option<Option<String>>,
pub aliases: Option<Vec<EntityAlias>>,
}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>>§entity_type: Option<Option<String>>§aliases: Option<Vec<EntityAlias>>The entity’s whole alias set before the update, every origin included.
Trait Implementations§
Source§impl Clone for EntityPreimage
impl Clone for EntityPreimage
Source§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 Forget for EntityPreimage
impl Freeze for EntityPreimagewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, PropertyValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, PropertyValue)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<EntityAlias>: Freeze,
impl Move for EntityPreimage
impl RefUnwindSafe for EntityPreimage
impl Send for EntityPreimagewhere
RawVecInner: Send,
NodeRef<Owned, String, PropertyValue, LeafOrInternal>: Send,
BoxRaw<(String, PropertyValue)>: Send,
impl Sync for EntityPreimagewhere
RawVecInner: Sync,
NodeRef<Owned, String, PropertyValue, LeafOrInternal>: Sync,
BoxRaw<(String, PropertyValue)>: Sync,
impl Unpin for EntityPreimage
impl UnsafeUnpin for EntityPreimagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, PropertyValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, PropertyValue)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<EntityAlias>: UnsafeUnpin,
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