pub struct MemoryKey {
pub scope: MemoryScope,
pub kind: MemoryKind,
pub name: String,
}Expand description
Stable logical key used for memory upserts.
Fields§
§scope: MemoryScope§kind: MemoryKind§name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for MemoryKey
impl<'de> Deserialize<'de> for MemoryKey
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 MemoryKey
Source§impl Ord for MemoryKey
impl Ord for MemoryKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MemoryKey
impl PartialOrd for MemoryKey
impl StructuralPartialEq for MemoryKey
Auto Trait Implementations§
impl Freeze for MemoryKey
impl RefUnwindSafe for MemoryKey
impl Send for MemoryKey
impl Sync for MemoryKey
impl Unpin for MemoryKey
impl UnsafeUnpin for MemoryKey
impl UnwindSafe for MemoryKey
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