pub struct TaskAgentSession {
    pub agent: Option<TaskAgentReference>,
    pub encryption_key: Option<TaskAgentSessionKey>,
    pub owner_name: Option<String>,
    pub session_id: Option<String>,
    pub system_capabilities: Option<Value>,
}Expand description
Represents a session for performing message exchanges from an agent.
Fields§
§agent: Option<TaskAgentReference>A reference to an agent.
encryption_key: Option<TaskAgentSessionKey>Represents a symmetric key used for message-level encryption for communication sent to an agent.
owner_name: Option<String>Gets or sets the owner name of this session. Generally this will be the machine of origination.
session_id: Option<String>Gets the unique identifier for this session.
system_capabilities: Option<Value>Implementations§
Trait Implementations§
source§impl Clone for TaskAgentSession
 
impl Clone for TaskAgentSession
source§fn clone(&self) -> TaskAgentSession
 
fn clone(&self) -> TaskAgentSession
Returns a copy of the value. Read more
1.0.0 · 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 TaskAgentSession
 
impl Debug for TaskAgentSession
source§impl Default for TaskAgentSession
 
impl Default for TaskAgentSession
source§fn default() -> TaskAgentSession
 
fn default() -> TaskAgentSession
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskAgentSession
 
impl<'de> Deserialize<'de> for TaskAgentSession
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 PartialEq for TaskAgentSession
 
impl PartialEq for TaskAgentSession
source§fn eq(&self, other: &TaskAgentSession) -> bool
 
fn eq(&self, other: &TaskAgentSession) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for TaskAgentSession
 
impl Serialize for TaskAgentSession
impl StructuralPartialEq for TaskAgentSession
Auto Trait Implementations§
impl RefUnwindSafe for TaskAgentSession
impl Send for TaskAgentSession
impl Sync for TaskAgentSession
impl Unpin for TaskAgentSession
impl UnwindSafe for TaskAgentSession
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