pub struct AutomaticThreadTitlingParamArgs { /* private fields */ }Expand description
Builder for AutomaticThreadTitlingParam.
Implementations§
Source§impl AutomaticThreadTitlingParamArgs
impl AutomaticThreadTitlingParamArgs
Sourcepub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Enable automatic thread title generation. Defaults to true.
Sourcepub fn build(&self) -> Result<AutomaticThreadTitlingParam, OpenAIError>
pub fn build(&self) -> Result<AutomaticThreadTitlingParam, OpenAIError>
Trait Implementations§
Source§impl Clone for AutomaticThreadTitlingParamArgs
impl Clone for AutomaticThreadTitlingParamArgs
Source§fn clone(&self) -> AutomaticThreadTitlingParamArgs
fn clone(&self) -> AutomaticThreadTitlingParamArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AutomaticThreadTitlingParamArgs
impl RefUnwindSafe for AutomaticThreadTitlingParamArgs
impl Send for AutomaticThreadTitlingParamArgs
impl Sync for AutomaticThreadTitlingParamArgs
impl Unpin for AutomaticThreadTitlingParamArgs
impl UnwindSafe for AutomaticThreadTitlingParamArgs
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