pub struct Avatar {
pub avatar_id: String,
pub name: Option<String>,
pub gender: Option<String>,
pub preview_url: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
A HeyGen avatar.
Fields§
§avatar_id: StringAvatar identifier.
name: Option<String>Avatar name.
gender: Option<String>Avatar gender.
preview_url: Option<String>Preview image URL.
extra: HashMap<String, Value>Additional fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Avatar
impl<'de> Deserialize<'de> for Avatar
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Avatar
impl RefUnwindSafe for Avatar
impl Send for Avatar
impl Sync for Avatar
impl Unpin for Avatar
impl UnsafeUnpin for Avatar
impl UnwindSafe for Avatar
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