pub struct SaveMemoryParams {Show 14 fields
pub content: String,
pub priority: String,
pub memory_type: String,
pub instruction: Option<String>,
pub tags: Option<String>,
pub namespace: String,
pub agent_id: String,
pub agent_type: String,
pub confidence: f64,
pub layer: Option<String>,
pub skill_trigger: Option<String>,
pub skill_steps: Vec<String>,
pub skill_verification: Option<String>,
pub api_key: Option<String>,
}Fields§
§content: String§priority: String§memory_type: String§instruction: Option<String>§namespace: StringNamespace for the memory (default: global)
agent_id: StringID of the agent saving this memory (default: proxy-client)
agent_type: StringType of the agent (e.g., coding-assistant)
confidence: f64Confidence score (0.0 to 1.0)
layer: Option<String>Memory layer: L0 (raw), L1 (atom), L2 (scenario), L3 (persona). Auto-assigned if omitted.
skill_trigger: Option<String>Skill trigger pattern (only for memory_type=skill)
skill_steps: Vec<String>Skill execution steps (only for memory_type=skill)
skill_verification: Option<String>Skill verification criteria (only for memory_type=skill)
api_key: Option<String>API key for agent authentication (required if agent has a registered key)
Trait Implementations§
Source§impl Debug for SaveMemoryParams
impl Debug for SaveMemoryParams
Source§impl<'de> Deserialize<'de> for SaveMemoryParams
impl<'de> Deserialize<'de> for SaveMemoryParams
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 JsonSchema for SaveMemoryParams
impl JsonSchema for SaveMemoryParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for SaveMemoryParams
impl Freeze for SaveMemoryParams
impl Move for SaveMemoryParams
impl RefUnwindSafe for SaveMemoryParams
impl Send for SaveMemoryParams
impl Sync for SaveMemoryParams
impl Unpin for SaveMemoryParams
impl UnsafeUnpin for SaveMemoryParams
impl UnwindSafe for SaveMemoryParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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