pub struct ReasoningConfigBuilder(/* private fields */);Expand description
Builder for ReasoningConfig.
Implementations§
Source§impl ReasoningConfigBuilder
impl ReasoningConfigBuilder
pub fn effort(self, value: impl Into<Option<ReasoningEffort>>) -> Self
pub fn generate_summary( self, value: impl Into<Option<ReasoningSummary>>, ) -> Self
pub fn mode(self, value: impl Into<String>) -> Self
pub fn summary(self, value: impl Into<Option<ReasoningSummary>>) -> Self
pub fn context(self, value: impl Into<Option<ReasoningContext>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ReasoningConfig
pub fn build(self) -> ReasoningConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ReasoningConfigBuilder
impl RefUnwindSafe for ReasoningConfigBuilder
impl Send for ReasoningConfigBuilder
impl Sync for ReasoningConfigBuilder
impl Unpin for ReasoningConfigBuilder
impl UnsafeUnpin for ReasoningConfigBuilder
impl UnwindSafe for ReasoningConfigBuilder
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