pub struct ThreadingSnapshot {
pub edges: Vec<ThreadEdge>,
pub blocks: Vec<TimelineBlock>,
pub pending_ancestor_ids: Vec<String>,
}Expand description
Typed snapshot emitted by the nmp.threading.graph.* projection family.
Fields§
§edges: Vec<ThreadEdge>Stable edge rows ordered by event id.
blocks: Vec<TimelineBlock>Display-order grouping blocks, newest block first.
pending_ancestor_ids: Vec<String>Ancestor event ids the local scope references but has not seen.
Implementations§
Trait Implementations§
Source§impl Clone for ThreadingSnapshot
impl Clone for ThreadingSnapshot
Source§fn clone(&self) -> ThreadingSnapshot
fn clone(&self) -> ThreadingSnapshot
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 ThreadingSnapshot
impl Debug for ThreadingSnapshot
Source§impl Default for ThreadingSnapshot
impl Default for ThreadingSnapshot
Source§fn default() -> ThreadingSnapshot
fn default() -> ThreadingSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreadingSnapshot
impl<'de> Deserialize<'de> for ThreadingSnapshot
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 ThreadingSnapshot
Source§impl PartialEq for ThreadingSnapshot
impl PartialEq for ThreadingSnapshot
Source§fn eq(&self, other: &ThreadingSnapshot) -> bool
fn eq(&self, other: &ThreadingSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ThreadingSnapshot
impl Serialize for ThreadingSnapshot
impl StructuralPartialEq for ThreadingSnapshot
Auto Trait Implementations§
impl Freeze for ThreadingSnapshot
impl RefUnwindSafe for ThreadingSnapshot
impl Send for ThreadingSnapshot
impl Sync for ThreadingSnapshot
impl Unpin for ThreadingSnapshot
impl UnsafeUnpin for ThreadingSnapshot
impl UnwindSafe for ThreadingSnapshot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.