pub struct StateCapabilities {
pub snapshots: Option<bool>,
pub deltas: Option<bool>,
pub memory: Option<bool>,
pub persistent_state: Option<bool>,
}Expand description
State and memory handling.
Fields§
§snapshots: Option<bool>The agent emits STATE_SNAPSHOT events.
deltas: Option<bool>The agent emits STATE_DELTA events.
memory: Option<bool>The agent has long-term memory beyond the current thread.
persistent_state: Option<bool>State survives across runs within a thread. When Some(false), state
resets each run.
Trait Implementations§
Source§impl Clone for StateCapabilities
impl Clone for StateCapabilities
Source§impl ComposeSchema for StateCapabilities
Available on crate feature utoipa only.
impl ComposeSchema for StateCapabilities
Available on crate feature
utoipa only.impl Copy for StateCapabilities
Source§impl Debug for StateCapabilities
impl Debug for StateCapabilities
Source§impl Default for StateCapabilities
impl Default for StateCapabilities
Source§impl<'de> Deserialize<'de> for StateCapabilities
impl<'de> Deserialize<'de> for StateCapabilities
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
impl Eq for StateCapabilities
Source§impl JsonSchema for StateCapabilities
Available on crate feature schemars only.
impl JsonSchema for StateCapabilities
Available on crate feature
schemars only.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 moreSource§impl PartialEq for StateCapabilities
impl PartialEq for StateCapabilities
Source§impl Serialize for StateCapabilities
impl Serialize for StateCapabilities
impl StructuralPartialEq for StateCapabilities
Auto Trait Implementations§
impl Forget for StateCapabilities
impl Freeze for StateCapabilities
impl Move for StateCapabilities
impl RefUnwindSafe for StateCapabilities
impl Send for StateCapabilities
impl Sync for StateCapabilities
impl Unpin for StateCapabilities
impl UnsafeUnpin for StateCapabilities
impl UnwindSafe for StateCapabilities
Blanket Implementations§
impl<T> AgentState for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.