pub struct CompatSection {
pub auth_style: Option<String>,
pub reasoning_format: Option<String>,
pub max_tokens_field: Option<String>,
pub supports_streaming: Option<bool>,
pub supports_system_message: Option<bool>,
}Expand description
OpenAI-compat quirk flags.
Fields§
§auth_style: Option<String>§reasoning_format: Option<String>§max_tokens_field: Option<String>§supports_streaming: Option<bool>§supports_system_message: Option<bool>Trait Implementations§
Source§impl Clone for CompatSection
impl Clone for CompatSection
Source§fn clone(&self) -> CompatSection
fn clone(&self) -> CompatSection
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 CompatSection
impl Debug for CompatSection
Source§impl Default for CompatSection
impl Default for CompatSection
Source§fn default() -> CompatSection
fn default() -> CompatSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompatSectionwhere
CompatSection: Default,
impl<'de> Deserialize<'de> for CompatSectionwhere
CompatSection: 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
Auto Trait Implementations§
impl Freeze for CompatSection
impl RefUnwindSafe for CompatSection
impl Send for CompatSection
impl Sync for CompatSection
impl Unpin for CompatSection
impl UnsafeUnpin for CompatSection
impl UnwindSafe for CompatSection
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