pub struct MemoryObject {
pub key: ObjectKey,
pub body: String,
pub version: u64,
pub created_at: String,
pub updated_at: String,
}Expand description
An object stored in a thingd collection.
Fields§
§key: ObjectKeyStable object key.
body: StringSerialized object body.
version: u64Monotonic object version assigned by the store.
created_at: StringISO 8601 creation timestamp, e.g. “2026-06-01T12:00:00.000Z”. Empty if not set.
updated_at: StringISO 8601 last-update timestamp. Empty if not set.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryObject
impl Clone for MemoryObject
Source§fn clone(&self) -> MemoryObject
fn clone(&self) -> MemoryObject
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 MemoryObject
impl Debug for MemoryObject
impl Eq for MemoryObject
Source§impl PartialEq for MemoryObject
impl PartialEq for MemoryObject
Source§fn eq(&self, other: &MemoryObject) -> bool
fn eq(&self, other: &MemoryObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryObject
Auto Trait Implementations§
impl Freeze for MemoryObject
impl RefUnwindSafe for MemoryObject
impl Send for MemoryObject
impl Sync for MemoryObject
impl Unpin for MemoryObject
impl UnsafeUnpin for MemoryObject
impl UnwindSafe for MemoryObject
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