pub struct TranscriptWordContract {
pub text: String,
pub start_seconds: Option<f64>,
pub end_seconds: Option<f64>,
pub confidence: Option<f32>,
pub speaker: Option<String>,
pub attributes: BTreeMap<String, String>,
}Fields§
§text: String§start_seconds: Option<f64>§end_seconds: Option<f64>§confidence: Option<f32>§speaker: Option<String>§attributes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for TranscriptWordContract
impl Clone for TranscriptWordContract
Source§fn clone(&self) -> TranscriptWordContract
fn clone(&self) -> TranscriptWordContract
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 TranscriptWordContract
impl Debug for TranscriptWordContract
Source§impl<'de> Deserialize<'de> for TranscriptWordContract
impl<'de> Deserialize<'de> for TranscriptWordContract
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 From<TranscriptWord> for TranscriptWordContract
impl From<TranscriptWord> for TranscriptWordContract
Source§fn from(value: TranscriptWord) -> Self
fn from(value: TranscriptWord) -> Self
Converts to this type from the input type.
Source§impl From<TranscriptWordContract> for TranscriptWord
impl From<TranscriptWordContract> for TranscriptWord
Source§fn from(value: TranscriptWordContract) -> Self
fn from(value: TranscriptWordContract) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TranscriptWordContract
impl PartialEq for TranscriptWordContract
Source§fn eq(&self, other: &TranscriptWordContract) -> bool
fn eq(&self, other: &TranscriptWordContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TranscriptWordContract
impl Serialize for TranscriptWordContract
impl StructuralPartialEq for TranscriptWordContract
Auto Trait Implementations§
impl Freeze for TranscriptWordContract
impl RefUnwindSafe for TranscriptWordContract
impl Send for TranscriptWordContract
impl Sync for TranscriptWordContract
impl Unpin for TranscriptWordContract
impl UnsafeUnpin for TranscriptWordContract
impl UnwindSafe for TranscriptWordContract
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