pub enum ToolOutputBudgetMode {
Bytes,
Tokens,
}Variants§
Trait Implementations§
Source§impl Clone for ToolOutputBudgetMode
impl Clone for ToolOutputBudgetMode
Source§fn clone(&self) -> ToolOutputBudgetMode
fn clone(&self) -> ToolOutputBudgetMode
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 ToolOutputBudgetMode
impl Debug for ToolOutputBudgetMode
Source§impl<'de> Deserialize<'de> for ToolOutputBudgetMode
impl<'de> Deserialize<'de> for ToolOutputBudgetMode
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 PartialEq for ToolOutputBudgetMode
impl PartialEq for ToolOutputBudgetMode
Source§fn eq(&self, other: &ToolOutputBudgetMode) -> bool
fn eq(&self, other: &ToolOutputBudgetMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolOutputBudgetMode
impl Serialize for ToolOutputBudgetMode
impl Copy for ToolOutputBudgetMode
impl Eq for ToolOutputBudgetMode
impl StructuralPartialEq for ToolOutputBudgetMode
Auto Trait Implementations§
impl Freeze for ToolOutputBudgetMode
impl RefUnwindSafe for ToolOutputBudgetMode
impl Send for ToolOutputBudgetMode
impl Sync for ToolOutputBudgetMode
impl Unpin for ToolOutputBudgetMode
impl UnsafeUnpin for ToolOutputBudgetMode
impl UnwindSafe for ToolOutputBudgetMode
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