pub struct FeaturesUsed {
pub reasoning: bool,
pub image_input: bool,
pub tools: bool,
pub structured_output: bool,
}Expand description
Features used by request (reported in envelope mode).
Fields§
§reasoning: boolWhether reasoning/thinking was used.
image_input: boolWhether image input was provided.
tools: boolWhether tool calling was used.
structured_output: boolWhether structured output was requested.
Trait Implementations§
Source§impl Clone for FeaturesUsed
impl Clone for FeaturesUsed
Source§fn clone(&self) -> FeaturesUsed
fn clone(&self) -> FeaturesUsed
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 FeaturesUsed
impl Debug for FeaturesUsed
Source§impl<'de> Deserialize<'de> for FeaturesUsed
impl<'de> Deserialize<'de> for FeaturesUsed
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 FeaturesUsed
impl RefUnwindSafe for FeaturesUsed
impl Send for FeaturesUsed
impl Sync for FeaturesUsed
impl Unpin for FeaturesUsed
impl UnsafeUnpin for FeaturesUsed
impl UnwindSafe for FeaturesUsed
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