pub struct OutputConfigBuilder(/* private fields */);Expand description
Builder for OutputConfig.
Implementations§
Source§impl OutputConfigBuilder
impl OutputConfigBuilder
pub fn effort(self, value: impl Into<Effort>) -> Self
pub fn format(self, value: impl Into<JsonOutputFormat>) -> Self
pub fn task_budget(self, value: impl Into<TokenTaskBudget>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> OutputConfig
pub fn build(self) -> OutputConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for OutputConfigBuilder
impl RefUnwindSafe for OutputConfigBuilder
impl Send for OutputConfigBuilder
impl Sync for OutputConfigBuilder
impl Unpin for OutputConfigBuilder
impl UnsafeUnpin for OutputConfigBuilder
impl UnwindSafe for OutputConfigBuilder
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