pub struct Recognized {
pub text: String,
pub primary_language: Option<PrimaryLanguage>,
pub speaker_id: Option<String>,
}
Expand description
The recognized text.
Contains the recognized text, the primary language and the speaker id.
Fields§
§text: String
The recognized text.
primary_language: Option<PrimaryLanguage>
The primary language of the recognized text.
speaker_id: Option<String>
The speaker id of the recognized text. This will be None if the detection of the speaker is not activated.
Trait Implementations§
Source§impl Clone for Recognized
impl Clone for Recognized
Source§fn clone(&self) -> Recognized
fn clone(&self) -> Recognized
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 Recognized
impl Debug for Recognized
Source§impl PartialEq for Recognized
impl PartialEq for Recognized
impl Eq for Recognized
impl StructuralPartialEq for Recognized
Auto Trait Implementations§
impl Freeze for Recognized
impl RefUnwindSafe for Recognized
impl Send for Recognized
impl Sync for Recognized
impl Unpin for Recognized
impl UnwindSafe for Recognized
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