pub struct SpeechSegment {
pub text: String,
pub start_millis: Option<u64>,
pub end_millis: Option<u64>,
pub speaker: Option<String>,
pub confidence: Option<f32>,
}Fields§
§text: String§start_millis: Option<u64>§end_millis: Option<u64>§speaker: Option<String>§confidence: Option<f32>Trait Implementations§
Source§impl Clone for SpeechSegment
impl Clone for SpeechSegment
Source§fn clone(&self) -> SpeechSegment
fn clone(&self) -> SpeechSegment
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 SpeechSegment
impl Debug for SpeechSegment
Source§impl<'de> Deserialize<'de> for SpeechSegment
impl<'de> Deserialize<'de> for SpeechSegment
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 SpeechSegment
impl PartialEq for SpeechSegment
Source§fn eq(&self, other: &SpeechSegment) -> bool
fn eq(&self, other: &SpeechSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpeechSegment
impl Serialize for SpeechSegment
impl StructuralPartialEq for SpeechSegment
Auto Trait Implementations§
impl Freeze for SpeechSegment
impl RefUnwindSafe for SpeechSegment
impl Send for SpeechSegment
impl Sync for SpeechSegment
impl Unpin for SpeechSegment
impl UnsafeUnpin for SpeechSegment
impl UnwindSafe for SpeechSegment
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