pub struct VoiceLibraryVoiceResponse {
pub voice_id: String,
pub name: String,
pub public_owner_id: Option<String>,
pub description: Option<String>,
pub gender: Option<String>,
pub age: Option<Value>,
pub accent: Option<String>,
}
Fields§
§voice_id: String
§name: String
§public_owner_id: Option<String>
§description: Option<String>
§gender: Option<String>
§age: Option<Value>
§accent: Option<String>
Implementations§
Source§impl VoiceLibraryVoiceResponse
impl VoiceLibraryVoiceResponse
pub fn new(voice_id: String, name: String) -> VoiceLibraryVoiceResponse
Trait Implementations§
Source§impl Clone for VoiceLibraryVoiceResponse
impl Clone for VoiceLibraryVoiceResponse
Source§fn clone(&self) -> VoiceLibraryVoiceResponse
fn clone(&self) -> VoiceLibraryVoiceResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VoiceLibraryVoiceResponse
impl Debug for VoiceLibraryVoiceResponse
Source§impl Default for VoiceLibraryVoiceResponse
impl Default for VoiceLibraryVoiceResponse
Source§fn default() -> VoiceLibraryVoiceResponse
fn default() -> VoiceLibraryVoiceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VoiceLibraryVoiceResponse
impl<'de> Deserialize<'de> for VoiceLibraryVoiceResponse
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
impl StructuralPartialEq for VoiceLibraryVoiceResponse
Auto Trait Implementations§
impl Freeze for VoiceLibraryVoiceResponse
impl RefUnwindSafe for VoiceLibraryVoiceResponse
impl Send for VoiceLibraryVoiceResponse
impl Sync for VoiceLibraryVoiceResponse
impl Unpin for VoiceLibraryVoiceResponse
impl UnwindSafe for VoiceLibraryVoiceResponse
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