pub struct MemoryReflexResponseDto {Show 22 fields
pub schema_version: String,
pub stimulus_id: String,
pub stimulus_text: String,
pub role: Option<String>,
pub scope: MemoryScopeDto,
pub kind: MemoryReflexKind,
pub action: MemoryAction,
pub topic: String,
pub salience: f32,
pub salience_label: String,
pub salience_confidence: f32,
pub confidence: f32,
pub propositions: MemoryPropositions,
pub gate: ReflexGate,
pub companions: Vec<MemoryAction>,
pub recall: Option<MemoryRecallRequestDto>,
pub find: Option<MemoryFindRequestDto>,
pub aggregate: Option<MemoryAggregateRequestDto>,
pub persist: Option<MemoryPersistHint>,
pub decider_id: String,
pub checkpoint: Option<String>,
pub metadata: Map<String, Value>,
}Expand description
Serializable reflex envelope. This is the message a host publishes.
Fields§
§schema_version: String§stimulus_id: String§stimulus_text: String§role: Option<String>§scope: MemoryScopeDto§kind: MemoryReflexKind§action: MemoryAction§topic: String§salience: f32§salience_label: String§salience_confidence: f32§confidence: f32§propositions: MemoryPropositions§gate: ReflexGate§companions: Vec<MemoryAction>§recall: Option<MemoryRecallRequestDto>§find: Option<MemoryFindRequestDto>§aggregate: Option<MemoryAggregateRequestDto>§persist: Option<MemoryPersistHint>§decider_id: String§checkpoint: Option<String>§metadata: Map<String, Value>Trait Implementations§
Source§impl Clone for MemoryReflexResponseDto
impl Clone for MemoryReflexResponseDto
Source§impl Debug for MemoryReflexResponseDto
impl Debug for MemoryReflexResponseDto
Source§impl<'de> Deserialize<'de> for MemoryReflexResponseDto
impl<'de> Deserialize<'de> for MemoryReflexResponseDto
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 From<MemoryReflex> for MemoryReflexResponseDto
impl From<MemoryReflex> for MemoryReflexResponseDto
Source§fn from(value: MemoryReflex) -> Self
fn from(value: MemoryReflex) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemoryReflexResponseDto
impl RefUnwindSafe for MemoryReflexResponseDto
impl Send for MemoryReflexResponseDto
impl Sync for MemoryReflexResponseDto
impl Unpin for MemoryReflexResponseDto
impl UnsafeUnpin for MemoryReflexResponseDto
impl UnwindSafe for MemoryReflexResponseDto
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