pub struct ForkSnapshot {
pub id: ForkId,
pub parent_event: Option<EventId>,
pub events: Vec<Event>,
pub graph: Graph,
}Fields§
§id: ForkId§parent_event: Option<EventId>§events: Vec<Event>§graph: GraphTrait Implementations§
Source§impl Clone for ForkSnapshot
impl Clone for ForkSnapshot
Source§fn clone(&self) -> ForkSnapshot
fn clone(&self) -> ForkSnapshot
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 ForkSnapshot
impl Debug for ForkSnapshot
Source§impl<'de> Deserialize<'de> for ForkSnapshot
impl<'de> Deserialize<'de> for ForkSnapshot
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 ForkSnapshot
impl PartialEq for ForkSnapshot
Source§impl Serialize for ForkSnapshot
impl Serialize for ForkSnapshot
impl StructuralPartialEq for ForkSnapshot
Auto Trait Implementations§
impl Freeze for ForkSnapshot
impl RefUnwindSafe for ForkSnapshot
impl Send for ForkSnapshot
impl Sync for ForkSnapshot
impl Unpin for ForkSnapshot
impl UnsafeUnpin for ForkSnapshot
impl UnwindSafe for ForkSnapshot
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