pub struct MemoryCandidate {
pub candidate_type: String,
pub source_request_id: String,
pub candidate_kind: MemoryCandidateKind,
pub summary: String,
pub full_output_hash: String,
pub parent_context_packet_id: String,
pub evidence_receipts: Vec<String>,
pub risk_hint: RiskClass,
pub allowed_future_uses: Vec<MemoryCandidateUse>,
pub reason_to_remember: String,
}Expand description
Compact system-side writeback signal.
Fields§
§candidate_type: String§source_request_id: String§candidate_kind: MemoryCandidateKind§summary: String§full_output_hash: String§parent_context_packet_id: String§evidence_receipts: Vec<String>§risk_hint: RiskClass§allowed_future_uses: Vec<MemoryCandidateUse>§reason_to_remember: StringTrait Implementations§
Source§impl Clone for MemoryCandidate
impl Clone for MemoryCandidate
Source§fn clone(&self) -> MemoryCandidate
fn clone(&self) -> MemoryCandidate
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 MemoryCandidate
impl Debug for MemoryCandidate
Source§impl<'de> Deserialize<'de> for MemoryCandidate
impl<'de> Deserialize<'de> for MemoryCandidate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryCandidate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryCandidate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryCandidate
Source§impl PartialEq for MemoryCandidate
impl PartialEq for MemoryCandidate
Source§fn eq(&self, other: &MemoryCandidate) -> bool
fn eq(&self, other: &MemoryCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryCandidate
impl Serialize for MemoryCandidate
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 MemoryCandidate
Auto Trait Implementations§
impl Freeze for MemoryCandidate
impl RefUnwindSafe for MemoryCandidate
impl Send for MemoryCandidate
impl Sync for MemoryCandidate
impl Unpin for MemoryCandidate
impl UnsafeUnpin for MemoryCandidate
impl UnwindSafe for MemoryCandidate
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