pub struct ToolBudgetContext {
pub budget_kind: Option<String>,
pub max_steps: Option<u32>,
pub time_budget_ms: Option<u64>,
pub cost_budget_units: Option<u64>,
}Fields§
§budget_kind: Option<String>§max_steps: Option<u32>§time_budget_ms: Option<u64>§cost_budget_units: Option<u64>Trait Implementations§
Source§impl Clone for ToolBudgetContext
impl Clone for ToolBudgetContext
Source§fn clone(&self) -> ToolBudgetContext
fn clone(&self) -> ToolBudgetContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolBudgetContext
impl Debug for ToolBudgetContext
Source§impl<'de> Deserialize<'de> for ToolBudgetContext
impl<'de> Deserialize<'de> for ToolBudgetContext
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
impl Eq for ToolBudgetContext
Source§impl PartialEq for ToolBudgetContext
impl PartialEq for ToolBudgetContext
Source§fn eq(&self, other: &ToolBudgetContext) -> bool
fn eq(&self, other: &ToolBudgetContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolBudgetContext
impl Serialize for ToolBudgetContext
impl StructuralPartialEq for ToolBudgetContext
Auto Trait Implementations§
impl Freeze for ToolBudgetContext
impl RefUnwindSafe for ToolBudgetContext
impl Send for ToolBudgetContext
impl Sync for ToolBudgetContext
impl Unpin for ToolBudgetContext
impl UnsafeUnpin for ToolBudgetContext
impl UnwindSafe for ToolBudgetContext
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