pub enum TraceOp {
NodeCreate {
id: u64,
data: Cid,
},
EdgeCreate {
from: u64,
to: u64,
label: u32,
props: Cid,
},
PropertyUpdate {
node: u64,
key: String,
value: Cid,
},
}Expand description
Trace element representing a single operation
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceOp
impl<'de> Deserialize<'de> for TraceOp
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
impl Eq for TraceOp
impl StructuralPartialEq for TraceOp
Auto Trait Implementations§
impl Freeze for TraceOp
impl RefUnwindSafe for TraceOp
impl Send for TraceOp
impl Sync for TraceOp
impl Unpin for TraceOp
impl UnwindSafe for TraceOp
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