pub struct ChatCompletionRequestMessageContentPartVideoArgs { /* private fields */ }Expand description
Builder for ChatCompletionRequestMessageContentPartVideo.
Implementations§
Source§impl ChatCompletionRequestMessageContentPartVideoArgs
impl ChatCompletionRequestMessageContentPartVideoArgs
pub fn video_url<VALUE: Into<VideoUrl>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ChatCompletionRequestMessageContentPartVideo, OpenAIError>
pub fn build( &self, ) -> Result<ChatCompletionRequestMessageContentPartVideo, OpenAIError>
Builds a new ChatCompletionRequestMessageContentPartVideo.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for ChatCompletionRequestMessageContentPartVideoArgs
impl Clone for ChatCompletionRequestMessageContentPartVideoArgs
Source§fn clone(&self) -> ChatCompletionRequestMessageContentPartVideoArgs
fn clone(&self) -> ChatCompletionRequestMessageContentPartVideoArgs
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 ChatCompletionRequestMessageContentPartVideoArgs
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartVideoArgs
impl Send for ChatCompletionRequestMessageContentPartVideoArgs
impl Sync for ChatCompletionRequestMessageContentPartVideoArgs
impl Unpin for ChatCompletionRequestMessageContentPartVideoArgs
impl UnwindSafe for ChatCompletionRequestMessageContentPartVideoArgs
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