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