pub struct PhotoAvatarRequest {
pub photo_base64: String,
pub script: String,
pub voice_id: Option<String>,
pub aspect_ratio: Option<String>,
}Expand description
Request body for creating a photo avatar video.
Fields§
§photo_base64: StringBase64-encoded photo.
script: StringScript text for the avatar to speak.
voice_id: Option<String>Voice ID.
aspect_ratio: Option<String>Aspect ratio.
Trait Implementations§
Source§impl Clone for PhotoAvatarRequest
impl Clone for PhotoAvatarRequest
Source§fn clone(&self) -> PhotoAvatarRequest
fn clone(&self) -> PhotoAvatarRequest
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 PhotoAvatarRequest
impl Debug for PhotoAvatarRequest
Source§impl Default for PhotoAvatarRequest
impl Default for PhotoAvatarRequest
Source§fn default() -> PhotoAvatarRequest
fn default() -> PhotoAvatarRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PhotoAvatarRequest
impl RefUnwindSafe for PhotoAvatarRequest
impl Send for PhotoAvatarRequest
impl Sync for PhotoAvatarRequest
impl Unpin for PhotoAvatarRequest
impl UnsafeUnpin for PhotoAvatarRequest
impl UnwindSafe for PhotoAvatarRequest
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