pub struct CompiledVariant {
pub id: VariantId,
pub model_id: Option<WireModelId>,
pub display_name: String,
pub defaults: RequestDefaults,
pub options: ProviderOptions,
pub reasoning: Option<ReasoningBehavior>,
pub headers: BTreeMap<HeaderName, SafeStaticHeaderValue>,
pub origin: CompiledVariantOrigin,
}Fields§
§id: VariantId§model_id: Option<WireModelId>§display_name: String§defaults: RequestDefaults§options: ProviderOptions§reasoning: Option<ReasoningBehavior>§headers: BTreeMap<HeaderName, SafeStaticHeaderValue>§origin: CompiledVariantOriginTrait Implementations§
Source§impl Clone for CompiledVariant
impl Clone for CompiledVariant
Source§fn clone(&self) -> CompiledVariant
fn clone(&self) -> CompiledVariant
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 CompiledVariant
impl Debug for CompiledVariant
Auto Trait Implementations§
impl Freeze for CompiledVariant
impl RefUnwindSafe for CompiledVariant
impl Send for CompiledVariant
impl Sync for CompiledVariant
impl Unpin for CompiledVariant
impl UnsafeUnpin for CompiledVariant
impl UnwindSafe for CompiledVariant
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