pub struct SessionConfigPatch {
pub provider: Option<ProviderHandle>,
pub model: Option<ModelSpec>,
pub prompt: Option<PromptLayer>,
}Fields§
§provider: Option<ProviderHandle>§model: Option<ModelSpec>§prompt: Option<PromptLayer>Trait Implementations§
Source§impl Clone for SessionConfigPatch
impl Clone for SessionConfigPatch
Source§fn clone(&self) -> SessionConfigPatch
fn clone(&self) -> SessionConfigPatch
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 SessionConfigPatch
impl Debug for SessionConfigPatch
Source§impl Default for SessionConfigPatch
impl Default for SessionConfigPatch
Source§fn default() -> SessionConfigPatch
fn default() -> SessionConfigPatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SessionConfigPatch
impl !UnwindSafe for SessionConfigPatch
impl Freeze for SessionConfigPatch
impl Send for SessionConfigPatch
impl Sync for SessionConfigPatch
impl Unpin for SessionConfigPatch
impl UnsafeUnpin for SessionConfigPatch
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