pub struct VoiceResource {
pub object: String,
pub id: String,
pub name: String,
pub created_at: u64,
}Available on crate feature
audio-types only.Expand description
A custom voice that can be used for audio output.
Fields§
§object: StringThe object type, which is always audio.voice.
id: StringThe voice identifier, which can be referenced in API endpoints.
name: StringThe name of the voice.
created_at: u64The Unix timestamp (in seconds) for when the voice was created.
Trait Implementations§
Source§impl Clone for VoiceResource
impl Clone for VoiceResource
Source§fn clone(&self) -> VoiceResource
fn clone(&self) -> VoiceResource
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 VoiceResource
impl Debug for VoiceResource
Source§impl<'de> Deserialize<'de> for VoiceResource
impl<'de> Deserialize<'de> for VoiceResource
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
Source§impl PartialEq for VoiceResource
impl PartialEq for VoiceResource
Source§impl Serialize for VoiceResource
impl Serialize for VoiceResource
impl StructuralPartialEq for VoiceResource
Auto Trait Implementations§
impl Freeze for VoiceResource
impl RefUnwindSafe for VoiceResource
impl Send for VoiceResource
impl Sync for VoiceResource
impl Unpin for VoiceResource
impl UnwindSafe for VoiceResource
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