#[non_exhaustive]pub struct MemoryProposal {Show 16 fields
pub memory_key: String,
pub memory_id: String,
pub content_sha256: String,
pub agent: String,
pub memory_type: String,
pub value_preview: String,
pub sensitivity: String,
pub tags: Vec<String>,
pub created_at: String,
pub graded_passes: Integer,
pub graded_fails: Integer,
pub last_graded_at: String,
pub used_count: Integer,
pub harm_count: Integer,
pub ready: MemoryProposalReady,
pub conflict_with: Vec<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.memory_key: String§memory_id: String§content_sha256: String§agent: String§memory_type: String§value_preview: String§sensitivity: String§created_at: String§graded_passes: Integer§graded_fails: Integer§last_graded_at: String§used_count: Integer§harm_count: Integer§ready: MemoryProposalReady§conflict_with: Vec<String>Trait Implementations§
Source§impl Clone for MemoryProposal
impl Clone for MemoryProposal
Source§impl Debug for MemoryProposal
impl Debug for MemoryProposal
Source§impl<'de> Deserialize<'de> for MemoryProposal
impl<'de> Deserialize<'de> for MemoryProposal
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
Source§impl PartialEq for MemoryProposal
impl PartialEq for MemoryProposal
Source§impl Serialize for MemoryProposal
impl Serialize for MemoryProposal
impl StructuralPartialEq for MemoryProposal
Auto Trait Implementations§
impl Forget for MemoryProposal
impl Freeze for MemoryProposal
impl Move for MemoryProposal
impl RefUnwindSafe for MemoryProposal
impl Send for MemoryProposal
impl Sync for MemoryProposal
impl Unpin for MemoryProposal
impl UnsafeUnpin for MemoryProposal
impl UnwindSafe for MemoryProposal
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