pub enum ContextRefId {
Memory {
memory_id: MemoryId,
},
Principle {
principle_id: PrincipleId,
},
Event {
event_id: EventId,
},
}Expand description
Typed reference included in or considered for a context pack.
Variants§
Memory
Durable memory ref.
Principle
Principle hypothesis ref.
Fields
§
principle_id: PrincipleIdPrinciple identifier.
Event
Raw event lineage ref.
Trait Implementations§
Source§impl Clone for ContextRefId
impl Clone for ContextRefId
Source§fn clone(&self) -> ContextRefId
fn clone(&self) -> ContextRefId
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 ContextRefId
impl Debug for ContextRefId
Source§impl<'de> Deserialize<'de> for ContextRefId
impl<'de> Deserialize<'de> for ContextRefId
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 ContextRefId
impl PartialEq for ContextRefId
Source§fn eq(&self, other: &ContextRefId) -> bool
fn eq(&self, other: &ContextRefId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextRefId
impl Serialize for ContextRefId
impl Eq for ContextRefId
impl StructuralPartialEq for ContextRefId
Auto Trait Implementations§
impl Freeze for ContextRefId
impl RefUnwindSafe for ContextRefId
impl Send for ContextRefId
impl Sync for ContextRefId
impl Unpin for ContextRefId
impl UnsafeUnpin for ContextRefId
impl UnwindSafe for ContextRefId
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