pub struct ContextEntryRef {
pub entry_id: String,
pub content_digest: ContentDigest,
pub source: ContextEntrySource,
pub ordinal: u32,
}Expand description
A stable reference to one addressable semantic item in ContextState.
Fields§
§entry_id: String§content_digest: ContentDigest§source: ContextEntrySource§ordinal: u32Trait Implementations§
Source§impl Clone for ContextEntryRef
impl Clone for ContextEntryRef
Source§fn clone(&self) -> ContextEntryRef
fn clone(&self) -> ContextEntryRef
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 ContextEntryRef
impl Debug for ContextEntryRef
Source§impl<'de> Deserialize<'de> for ContextEntryRef
impl<'de> Deserialize<'de> for ContextEntryRef
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 ContextEntryRef
Source§impl PartialEq for ContextEntryRef
impl PartialEq for ContextEntryRef
Source§impl Serialize for ContextEntryRef
impl Serialize for ContextEntryRef
impl StructuralPartialEq for ContextEntryRef
Auto Trait Implementations§
impl Freeze for ContextEntryRef
impl RefUnwindSafe for ContextEntryRef
impl Send for ContextEntryRef
impl Sync for ContextEntryRef
impl Unpin for ContextEntryRef
impl UnsafeUnpin for ContextEntryRef
impl UnwindSafe for ContextEntryRef
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