pub struct ContextPacketMemoryRef {
pub memory_id: String,
pub title: SafeMetadata,
pub summary: SafeMetadata,
pub keywords: Vec<SafeMetadata>,
pub latest_receipt_hash: String,
}Expand description
Context packet memory reference.
Fields§
§memory_id: String§title: SafeMetadata§summary: SafeMetadata§keywords: Vec<SafeMetadata>§latest_receipt_hash: StringTrait Implementations§
Source§impl Clone for ContextPacketMemoryRef
impl Clone for ContextPacketMemoryRef
Source§fn clone(&self) -> ContextPacketMemoryRef
fn clone(&self) -> ContextPacketMemoryRef
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 ContextPacketMemoryRef
impl Debug for ContextPacketMemoryRef
Source§impl<'de> Deserialize<'de> for ContextPacketMemoryRef
impl<'de> Deserialize<'de> for ContextPacketMemoryRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextPacketMemoryRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextPacketMemoryRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextPacketMemoryRef
Source§impl PartialEq for ContextPacketMemoryRef
impl PartialEq for ContextPacketMemoryRef
Source§fn eq(&self, other: &ContextPacketMemoryRef) -> bool
fn eq(&self, other: &ContextPacketMemoryRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextPacketMemoryRef
impl Serialize for ContextPacketMemoryRef
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContextPacketMemoryRef
Auto Trait Implementations§
impl Freeze for ContextPacketMemoryRef
impl RefUnwindSafe for ContextPacketMemoryRef
impl Send for ContextPacketMemoryRef
impl Sync for ContextPacketMemoryRef
impl Unpin for ContextPacketMemoryRef
impl UnsafeUnpin for ContextPacketMemoryRef
impl UnwindSafe for ContextPacketMemoryRef
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