pub struct CreateVideoCharacterRequest {
pub video: InputSource,
pub name: String,
}Available on crate feature
video-types only.Expand description
Parameters for creating a video character.
Fields§
§video: InputSourceVideo file used to create a character.
name: StringDisplay name for this API character.
Trait Implementations§
Source§impl AsyncTryFrom<CreateVideoCharacterRequest> for Form
Available on crate feature _api only.
impl AsyncTryFrom<CreateVideoCharacterRequest> for Form
Available on crate feature
_api only.Source§type Error = OpenAIError
type Error = OpenAIError
The type returned in the event of a conversion error.
Source§impl Clone for CreateVideoCharacterRequest
impl Clone for CreateVideoCharacterRequest
Source§fn clone(&self) -> CreateVideoCharacterRequest
fn clone(&self) -> CreateVideoCharacterRequest
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 moreSource§impl Debug for CreateVideoCharacterRequest
impl Debug for CreateVideoCharacterRequest
Source§impl Default for CreateVideoCharacterRequest
impl Default for CreateVideoCharacterRequest
Source§fn default() -> CreateVideoCharacterRequest
fn default() -> CreateVideoCharacterRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateVideoCharacterRequest
Auto Trait Implementations§
impl !Freeze for CreateVideoCharacterRequest
impl RefUnwindSafe for CreateVideoCharacterRequest
impl Send for CreateVideoCharacterRequest
impl Sync for CreateVideoCharacterRequest
impl Unpin for CreateVideoCharacterRequest
impl UnsafeUnpin for CreateVideoCharacterRequest
impl UnwindSafe for CreateVideoCharacterRequest
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