pub enum AgentSessionOperation {
Read,
Search,
Create,
Update,
Control,
Delete,
}Expand description
Agent-facing session operation class.
Variants§
Read
List/get session and run projections.
Search
Use an independently injected search provider.
Create
Create a session or start a run.
Update
Update title/profile/archive state.
Control
Steer or interrupt a live run.
Delete
Tombstone a session.
Trait Implementations§
Source§impl Clone for AgentSessionOperation
impl Clone for AgentSessionOperation
Source§fn clone(&self) -> AgentSessionOperation
fn clone(&self) -> AgentSessionOperation
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 moreimpl Copy for AgentSessionOperation
Source§impl Debug for AgentSessionOperation
impl Debug for AgentSessionOperation
Source§impl<'de> Deserialize<'de> for AgentSessionOperation
impl<'de> Deserialize<'de> for AgentSessionOperation
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 AgentSessionOperation
Source§impl Hash for AgentSessionOperation
impl Hash for AgentSessionOperation
Source§impl Ord for AgentSessionOperation
impl Ord for AgentSessionOperation
Source§fn cmp(&self, other: &AgentSessionOperation) -> Ordering
fn cmp(&self, other: &AgentSessionOperation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AgentSessionOperation
impl PartialEq for AgentSessionOperation
Source§impl PartialOrd for AgentSessionOperation
impl PartialOrd for AgentSessionOperation
Source§impl Serialize for AgentSessionOperation
impl Serialize for AgentSessionOperation
impl StructuralPartialEq for AgentSessionOperation
Auto Trait Implementations§
impl Freeze for AgentSessionOperation
impl RefUnwindSafe for AgentSessionOperation
impl Send for AgentSessionOperation
impl Sync for AgentSessionOperation
impl Unpin for AgentSessionOperation
impl UnsafeUnpin for AgentSessionOperation
impl UnwindSafe for AgentSessionOperation
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