pub struct AgentSession {Show 16 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub status: Option<AgentSessionStatus>,
pub started_at: Option<DateTime<Utc>>,
pub ended_at: Option<DateTime<Utc>>,
pub dismissed_at: Option<DateTime<Utc>>,
pub external_link: Option<String>,
pub summary: Option<String>,
pub source_metadata: Option<Value>,
pub plan: Option<Value>,
pub context: Option<Value>,
pub type: Option<AgentSessionType>,
pub url: Option<String>,
pub external_urls: Option<Value>,
}Fields§
§id: Option<String>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§archived_at: Option<DateTime<Utc>>§status: Option<AgentSessionStatus>§started_at: Option<DateTime<Utc>>§ended_at: Option<DateTime<Utc>>§dismissed_at: Option<DateTime<Utc>>§external_link: Option<String>§summary: Option<String>§source_metadata: Option<Value>§plan: Option<Value>§context: Option<Value>§type: Option<AgentSessionType>§url: Option<String>§external_urls: Option<Value>Trait Implementations§
Source§impl Clone for AgentSession
impl Clone for AgentSession
Source§fn clone(&self) -> AgentSession
fn clone(&self) -> AgentSession
Returns a duplicate 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 AgentSession
impl Debug for AgentSession
Source§impl Default for AgentSession
impl Default for AgentSession
Source§fn default() -> AgentSession
fn default() -> AgentSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentSessionwhere
AgentSession: Default,
impl<'de> Deserialize<'de> for AgentSessionwhere
AgentSession: Default,
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
Auto Trait Implementations§
impl Freeze for AgentSession
impl RefUnwindSafe for AgentSession
impl Send for AgentSession
impl Sync for AgentSession
impl Unpin for AgentSession
impl UnwindSafe for AgentSession
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