pub struct Transcript {
pub language: String,
pub transcript: Option<String>,
pub summary: Option<String>,
pub participants: Vec<String>,
}Expand description
What a transcription answered with.
A member that was not asked for is empty, and every member survives an answer that leaves it out.
Fields§
§language: StringThe language that was heard, as an ISO 639-1 code such as en or es.
transcript: Option<String>The words that were said, when they were asked for.
summary: Option<String>The summary, when it was asked for.
participants: Vec<String>The speakers that were told apart, when they were asked for.
Trait Implementations§
Source§impl Clone for Transcript
impl Clone for Transcript
Source§fn clone(&self) -> Transcript
fn clone(&self) -> Transcript
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 Transcript
impl Debug for Transcript
Source§impl Default for Transcript
impl Default for Transcript
Source§fn default() -> Transcript
fn default() -> Transcript
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Transcriptwhere
Transcript: Default,
impl<'de> Deserialize<'de> for Transcriptwhere
Transcript: Default,
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 Transcript
impl RefUnwindSafe for Transcript
impl Send for Transcript
impl Sync for Transcript
impl Unpin for Transcript
impl UnsafeUnpin for Transcript
impl UnwindSafe for Transcript
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