pub struct ScopeCreated {
pub scope_id: ScopeId,
pub trajectory_id: TrajectoryId,
pub parent_scope_id: Option<ScopeId>,
pub name: String,
pub purpose: Option<String>,
pub token_budget: i32,
pub tokens_used: i32,
pub metadata: Option<Value>,
}Expand description
Payload for SCOPE_CREATED events.
Fields§
§scope_id: ScopeId§trajectory_id: TrajectoryId§parent_scope_id: Option<ScopeId>§name: String§purpose: Option<String>§token_budget: i32§tokens_used: i32§metadata: Option<Value>Trait Implementations§
Source§impl Clone for ScopeCreated
impl Clone for ScopeCreated
Source§fn clone(&self) -> ScopeCreated
fn clone(&self) -> ScopeCreated
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 ScopeCreated
impl Debug for ScopeCreated
Source§impl<'de> Deserialize<'de> for ScopeCreated
impl<'de> Deserialize<'de> for ScopeCreated
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 EventPayload for ScopeCreated
impl EventPayload for ScopeCreated
Auto Trait Implementations§
impl Freeze for ScopeCreated
impl RefUnwindSafe for ScopeCreated
impl Send for ScopeCreated
impl Sync for ScopeCreated
impl Unpin for ScopeCreated
impl UnwindSafe for ScopeCreated
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