pub enum GraphCommitDelta {
Unchanged {
leaf_node_id: Option<String>,
},
Append {
nodes: Vec<SessionNodeRecord>,
leaf_node_id: Option<String>,
},
ReplaceFull(SessionGraph),
}Variants§
Implementations§
Source§impl GraphCommitDelta
impl GraphCommitDelta
pub fn leaf_node_id(&self) -> Option<&String>
Trait Implementations§
Source§impl Clone for GraphCommitDelta
impl Clone for GraphCommitDelta
Source§fn clone(&self) -> GraphCommitDelta
fn clone(&self) -> GraphCommitDelta
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 GraphCommitDelta
impl Debug for GraphCommitDelta
Source§impl<'de> Deserialize<'de> for GraphCommitDelta
impl<'de> Deserialize<'de> for GraphCommitDelta
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 GraphCommitDelta
impl RefUnwindSafe for GraphCommitDelta
impl Send for GraphCommitDelta
impl Sync for GraphCommitDelta
impl Unpin for GraphCommitDelta
impl UnsafeUnpin for GraphCommitDelta
impl UnwindSafe for GraphCommitDelta
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