pub struct FallbackParamBuilder(/* private fields */);Expand description
Builder for FallbackParam.
Implementations§
Source§impl FallbackParamBuilder
impl FallbackParamBuilder
pub fn max_tokens(self, value: impl Into<i64>) -> Self
pub fn output_config(self, value: impl Into<OutputConfig>) -> Self
pub fn speed(self, value: impl Into<Speed>) -> Self
pub fn thinking(self, value: impl Into<ThinkingConfig>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> FallbackParam
pub fn build(self) -> FallbackParam
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for FallbackParamBuilder
impl RefUnwindSafe for FallbackParamBuilder
impl Send for FallbackParamBuilder
impl Sync for FallbackParamBuilder
impl Unpin for FallbackParamBuilder
impl UnsafeUnpin for FallbackParamBuilder
impl UnwindSafe for FallbackParamBuilder
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