pub struct VoiceConsentResource {
pub object: String,
pub id: String,
pub name: String,
pub language: String,
pub created_at: u64,
}Available on crate feature
audio-types only.Expand description
A consent recording used to authorize creation of a custom voice.
Fields§
§object: StringThe object type, which is always audio.voice_consent.
id: StringThe consent recording identifier.
name: StringThe label provided when the consent recording was uploaded.
language: StringThe BCP 47 language tag for the consent phrase (for example, en-US).
created_at: u64The Unix timestamp (in seconds) for when the consent recording was created.
Trait Implementations§
Source§impl Clone for VoiceConsentResource
impl Clone for VoiceConsentResource
Source§fn clone(&self) -> VoiceConsentResource
fn clone(&self) -> VoiceConsentResource
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 VoiceConsentResource
impl Debug for VoiceConsentResource
Source§impl<'de> Deserialize<'de> for VoiceConsentResource
impl<'de> Deserialize<'de> for VoiceConsentResource
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 VoiceConsentResource
impl PartialEq for VoiceConsentResource
Source§impl Serialize for VoiceConsentResource
impl Serialize for VoiceConsentResource
impl StructuralPartialEq for VoiceConsentResource
Auto Trait Implementations§
impl Freeze for VoiceConsentResource
impl RefUnwindSafe for VoiceConsentResource
impl Send for VoiceConsentResource
impl Sync for VoiceConsentResource
impl Unpin for VoiceConsentResource
impl UnwindSafe for VoiceConsentResource
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