pub struct EntityChange {
pub collection: String,
pub id: Option<String>,
pub fields: Vec<String>,
pub before: Value,
pub after: Value,
}Expand description
One entity-level semantic difference, including explicit additions and removals.
Fields§
§collection: StringDomain collection such as external_references, dependencies per edge, or the workspace-wide
workspace / links / calendars.
id: Option<String>Stable entity identity, absent for workspace-wide values.
fields: Vec<String>Changed field names; empty for an added or removed entity.
before: ValueFull previous entity; null means addition.
after: ValueFull proposed entity; null means deletion.
Trait Implementations§
Source§impl Clone for EntityChange
impl Clone for EntityChange
Source§impl Debug for EntityChange
impl Debug for EntityChange
Source§impl<'de> Deserialize<'de> for EntityChange
impl<'de> Deserialize<'de> for EntityChange
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 EntityChange
impl PartialEq for EntityChange
Source§impl Serialize for EntityChange
impl Serialize for EntityChange
impl StructuralPartialEq for EntityChange
Auto Trait Implementations§
impl Freeze for EntityChange
impl RefUnwindSafe for EntityChange
impl Send for EntityChange
impl Sync for EntityChange
impl Unpin for EntityChange
impl UnsafeUnpin for EntityChange
impl UnwindSafe for EntityChange
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