pub struct BasellmOpenAiModelMetadata {
pub model_id: String,
pub display_name: Option<String>,
pub description: Option<String>,
pub context_window: Option<i64>,
pub max_context_window: Option<i64>,
pub input_modalities: Vec<String>,
pub reasoning: Option<bool>,
pub tool_call: Option<bool>,
pub structured_output: Option<bool>,
pub supports_fast_priority: bool,
}Fields§
§model_id: String§display_name: Option<String>§description: Option<String>§context_window: Option<i64>§max_context_window: Option<i64>§input_modalities: Vec<String>§reasoning: Option<bool>§tool_call: Option<bool>§structured_output: Option<bool>§supports_fast_priority: boolTrait Implementations§
Source§impl Clone for BasellmOpenAiModelMetadata
impl Clone for BasellmOpenAiModelMetadata
Source§fn clone(&self) -> BasellmOpenAiModelMetadata
fn clone(&self) -> BasellmOpenAiModelMetadata
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 BasellmOpenAiModelMetadata
impl Debug for BasellmOpenAiModelMetadata
Source§impl Default for BasellmOpenAiModelMetadata
impl Default for BasellmOpenAiModelMetadata
Source§fn default() -> BasellmOpenAiModelMetadata
fn default() -> BasellmOpenAiModelMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BasellmOpenAiModelMetadatawhere
BasellmOpenAiModelMetadata: Default,
impl<'de> Deserialize<'de> for BasellmOpenAiModelMetadatawhere
BasellmOpenAiModelMetadata: Default,
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 BasellmOpenAiModelMetadata
impl PartialEq for BasellmOpenAiModelMetadata
Source§fn eq(&self, other: &BasellmOpenAiModelMetadata) -> bool
fn eq(&self, other: &BasellmOpenAiModelMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BasellmOpenAiModelMetadata
Auto Trait Implementations§
impl Freeze for BasellmOpenAiModelMetadata
impl RefUnwindSafe for BasellmOpenAiModelMetadata
impl Send for BasellmOpenAiModelMetadata
impl Sync for BasellmOpenAiModelMetadata
impl Unpin for BasellmOpenAiModelMetadata
impl UnsafeUnpin for BasellmOpenAiModelMetadata
impl UnwindSafe for BasellmOpenAiModelMetadata
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