pub struct UpdateChatCompletionRequestArgs { /* private fields */ }Expand description
Builder for UpdateChatCompletionRequest.
Implementations§
Source§impl UpdateChatCompletionRequestArgs
impl UpdateChatCompletionRequestArgs
Sourcepub fn metadata<VALUE: Into<Metadata>>(&mut self, value: VALUE) -> &mut Self
pub fn metadata<VALUE: Into<Metadata>>(&mut self, value: VALUE) -> &mut Self
Set of 16 key-value pairs that can be attached to an object.
Sourcepub fn build(&self) -> Result<UpdateChatCompletionRequest, OpenAIError>
pub fn build(&self) -> Result<UpdateChatCompletionRequest, OpenAIError>
Trait Implementations§
Source§impl Clone for UpdateChatCompletionRequestArgs
impl Clone for UpdateChatCompletionRequestArgs
Source§fn clone(&self) -> UpdateChatCompletionRequestArgs
fn clone(&self) -> UpdateChatCompletionRequestArgs
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 UpdateChatCompletionRequestArgs
impl RefUnwindSafe for UpdateChatCompletionRequestArgs
impl Send for UpdateChatCompletionRequestArgs
impl Sync for UpdateChatCompletionRequestArgs
impl Unpin for UpdateChatCompletionRequestArgs
impl UnwindSafe for UpdateChatCompletionRequestArgs
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