pub struct Capabilities {Show 23 fields
pub context_window: Option<u64>,
pub supports_tools: bool,
pub supports_custom_tools: bool,
pub supports_parallel_tool_calls: bool,
pub supports_allowed_tools: bool,
pub supports_json_mode: bool,
pub supports_seed: bool,
pub supports_frequency_penalty: bool,
pub supports_presence_penalty: bool,
pub supports_logit_bias: bool,
pub supports_logprobs: bool,
pub supports_top_logprobs: bool,
pub supports_n: bool,
pub supports_response_format: bool,
pub supports_stop: bool,
pub supports_temperature: bool,
pub supports_top_p: bool,
pub supports_top_k: bool,
pub supports_image_input: bool,
pub supports_extended_thinking: bool,
pub responses_api: bool,
pub reasoning_controls: Vec<String>,
pub thought_signatures: Option<String>,
}Fields§
§context_window: Option<u64>§supports_tools: bool§supports_custom_tools: bool§supports_parallel_tool_calls: bool§supports_allowed_tools: bool§supports_json_mode: bool§supports_seed: bool§supports_frequency_penalty: bool§supports_presence_penalty: bool§supports_logit_bias: bool§supports_logprobs: bool§supports_top_logprobs: bool§supports_n: bool§supports_response_format: bool§supports_stop: bool§supports_temperature: bool§supports_top_p: bool§supports_top_k: bool§supports_image_input: bool§supports_extended_thinking: bool§responses_api: bool§reasoning_controls: Vec<String>§thought_signatures: Option<String>Trait Implementations§
Source§impl Clone for Capabilities
impl Clone for Capabilities
Source§fn clone(&self) -> Capabilities
fn clone(&self) -> Capabilities
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 Capabilities
impl Debug for Capabilities
Source§impl Default for Capabilities
impl Default for Capabilities
Source§fn default() -> Capabilities
fn default() -> Capabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Capabilities
impl<'de> Deserialize<'de> for Capabilities
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Capabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Capabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Capabilities
Source§impl PartialEq for Capabilities
impl PartialEq for Capabilities
Source§impl Serialize for Capabilities
impl Serialize for Capabilities
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Capabilities
Auto Trait Implementations§
impl Freeze for Capabilities
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnsafeUnpin for Capabilities
impl UnwindSafe for Capabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.