pub struct NewMemory {
pub id: String,
pub scope: String,
pub content: String,
pub digest: String,
pub subject_key: String,
pub created_at: String,
}Expand description
Caller-supplied fields for a new memory write. id, digest, and
subject_key stay caller-computed so the store never re-implements hashing/keyword-normalization
that the daemon’s existing pipeline owns.
Fields§
§id: String§scope: String§content: String§digest: String§subject_key: String§created_at: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for NewMemory
impl Freeze for NewMemory
impl Move for NewMemory
impl RefUnwindSafe for NewMemory
impl Send for NewMemory
impl Sync for NewMemory
impl Unpin for NewMemory
impl UnsafeUnpin for NewMemory
impl UnwindSafe for NewMemory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more