pub enum LinkEvent {
Created {
link_type: String,
link_id: Uuid,
source_id: Uuid,
target_id: Uuid,
metadata: Option<Value>,
},
Deleted {
link_type: String,
link_id: Uuid,
source_id: Uuid,
target_id: Uuid,
},
}Expand description
Events related to link mutations (create, delete)
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkEvent
impl<'de> Deserialize<'de> for LinkEvent
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
Auto Trait Implementations§
impl Freeze for LinkEvent
impl RefUnwindSafe for LinkEvent
impl Send for LinkEvent
impl Sync for LinkEvent
impl Unpin for LinkEvent
impl UnsafeUnpin for LinkEvent
impl UnwindSafe for LinkEvent
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