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 moreAuto 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