Struct ScopeResponse
Source pub struct ScopeResponse {Show 13 fields
pub scope_id: ScopeId,
pub trajectory_id: TrajectoryId,
pub name: String,
pub description: Option<String>,
pub status: String,
pub parent_scope_id: Option<ScopeId>,
pub agent_id: Option<AgentId>,
pub token_budget: Option<i64>,
pub tokens_used: i64,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub closed_at: Option<DateTime<Utc>>,
pub metadata: Option<Value>,
}Expand description
Scope response from the API.
Fields§
§scope_id: ScopeId§trajectory_id: TrajectoryId§name: String§description: Option<String>§status: String§parent_scope_id: Option<ScopeId>§agent_id: Option<AgentId>§token_budget: Option<i64>§tokens_used: i64§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§closed_at: Option<DateTime<Utc>>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for ScopeResponse
impl Clone for ScopeResponse
Source§fn clone(&self) -> ScopeResponse
fn clone(&self) -> ScopeResponse
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 ScopeResponse
impl Debug for ScopeResponse
Source§impl<'de> Deserialize<'de> for ScopeResponse
impl<'de> Deserialize<'de> for ScopeResponse
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 ScopeResponse
impl RefUnwindSafe for ScopeResponse
impl Send for ScopeResponse
impl Sync for ScopeResponse
impl Unpin for ScopeResponse
impl UnwindSafe for ScopeResponse
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