pub struct SessionLlmReconfigureRequest {
pub model: Option<String>,
pub provider: Option<String>,
pub provider_params: Option<TurnMetadataOverride<ProviderParamsOverride>>,
pub auth_binding: Option<TurnMetadataOverride<AuthBindingRef>>,
}Expand description
Per-turn LLM hot-swap reconfigure request.
provider_params and auth_binding carry the canonical Inherit/Set/Clear
tri-state via TurnMetadataOverride: None preserves the durable value,
Some(Set) overrides it, and Some(Clear) removes it. The illegal
“set and clear” fourth state is structurally unrepresentable.
Fields§
§model: Option<String>§provider: Option<String>§provider_params: Option<TurnMetadataOverride<ProviderParamsOverride>>§auth_binding: Option<TurnMetadataOverride<AuthBindingRef>>Optional realm-scoped connection override resolved through the tri-state:
Some(Set) swaps the binding, Some(Clear) removes it, None preserves
the session’s existing SessionLlmIdentity.auth_binding.
Trait Implementations§
Source§impl Clone for SessionLlmReconfigureRequest
impl Clone for SessionLlmReconfigureRequest
Source§fn clone(&self) -> SessionLlmReconfigureRequest
fn clone(&self) -> SessionLlmReconfigureRequest
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 SessionLlmReconfigureRequest
impl Debug for SessionLlmReconfigureRequest
Source§impl PartialEq for SessionLlmReconfigureRequest
impl PartialEq for SessionLlmReconfigureRequest
Source§fn eq(&self, other: &SessionLlmReconfigureRequest) -> bool
fn eq(&self, other: &SessionLlmReconfigureRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionLlmReconfigureRequest
Auto Trait Implementations§
impl Freeze for SessionLlmReconfigureRequest
impl RefUnwindSafe for SessionLlmReconfigureRequest
impl Send for SessionLlmReconfigureRequest
impl Sync for SessionLlmReconfigureRequest
impl Unpin for SessionLlmReconfigureRequest
impl UnsafeUnpin for SessionLlmReconfigureRequest
impl UnwindSafe for SessionLlmReconfigureRequest
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