pub struct CreateVideoCharacterRequestArgs { /* private fields */ }Available on crate feature
video-types only.Expand description
Builder for CreateVideoCharacterRequest.
Implementations§
Source§impl CreateVideoCharacterRequestArgs
impl CreateVideoCharacterRequestArgs
Sourcepub fn video<VALUE: Into<InputSource>>(&mut self, value: VALUE) -> &mut Self
pub fn video<VALUE: Into<InputSource>>(&mut self, value: VALUE) -> &mut Self
Video file used to create a character.
Sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Display name for this API character.
Sourcepub fn build(&self) -> Result<CreateVideoCharacterRequest, OpenAIError>
pub fn build(&self) -> Result<CreateVideoCharacterRequest, OpenAIError>
Trait Implementations§
Source§impl Clone for CreateVideoCharacterRequestArgs
impl Clone for CreateVideoCharacterRequestArgs
Source§fn clone(&self) -> CreateVideoCharacterRequestArgs
fn clone(&self) -> CreateVideoCharacterRequestArgs
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 CreateVideoCharacterRequestArgs
impl RefUnwindSafe for CreateVideoCharacterRequestArgs
impl Send for CreateVideoCharacterRequestArgs
impl Sync for CreateVideoCharacterRequestArgs
impl Unpin for CreateVideoCharacterRequestArgs
impl UnsafeUnpin for CreateVideoCharacterRequestArgs
impl UnwindSafe for CreateVideoCharacterRequestArgs
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