pub struct SpeechSynthesisResult {
pub audio: SpeechAudio,
pub duration_millis: Option<u64>,
pub provider_response_id: Option<String>,
pub metadata: Value,
}Fields§
§audio: SpeechAudio§duration_millis: Option<u64>§provider_response_id: Option<String>§metadata: ValueTrait Implementations§
Source§impl Clone for SpeechSynthesisResult
impl Clone for SpeechSynthesisResult
Source§fn clone(&self) -> SpeechSynthesisResult
fn clone(&self) -> SpeechSynthesisResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpeechSynthesisResult
impl Debug for SpeechSynthesisResult
Source§impl<'de> Deserialize<'de> for SpeechSynthesisResult
impl<'de> Deserialize<'de> for SpeechSynthesisResult
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 SpeechSynthesisResult
impl PartialEq for SpeechSynthesisResult
Source§fn eq(&self, other: &SpeechSynthesisResult) -> bool
fn eq(&self, other: &SpeechSynthesisResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpeechSynthesisResult
impl Serialize for SpeechSynthesisResult
impl StructuralPartialEq for SpeechSynthesisResult
Auto Trait Implementations§
impl Freeze for SpeechSynthesisResult
impl RefUnwindSafe for SpeechSynthesisResult
impl Send for SpeechSynthesisResult
impl Sync for SpeechSynthesisResult
impl Unpin for SpeechSynthesisResult
impl UnsafeUnpin for SpeechSynthesisResult
impl UnwindSafe for SpeechSynthesisResult
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