pub struct WhisperCppSegment {
pub index: u64,
pub start_seconds: Option<f64>,
pub end_seconds: Option<f64>,
pub text: String,
pub confidence: Option<f32>,
}Expand description
Data type for whisper cpp segment.
Fields§
§index: u64The index value.
start_seconds: Option<f64>The start seconds value.
end_seconds: Option<f64>The end seconds value.
text: StringText content for this value.
confidence: Option<f32>Confidence score for this value.
Trait Implementations§
Source§impl Clone for WhisperCppSegment
impl Clone for WhisperCppSegment
Source§fn clone(&self) -> WhisperCppSegment
fn clone(&self) -> WhisperCppSegment
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 WhisperCppSegment
impl Debug for WhisperCppSegment
Source§impl<'de> Deserialize<'de> for WhisperCppSegment
impl<'de> Deserialize<'de> for WhisperCppSegment
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 WhisperCppSegment
impl PartialEq for WhisperCppSegment
Source§fn eq(&self, other: &WhisperCppSegment) -> bool
fn eq(&self, other: &WhisperCppSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WhisperCppSegment
impl Serialize for WhisperCppSegment
impl StructuralPartialEq for WhisperCppSegment
Auto Trait Implementations§
impl Freeze for WhisperCppSegment
impl RefUnwindSafe for WhisperCppSegment
impl Send for WhisperCppSegment
impl Sync for WhisperCppSegment
impl Unpin for WhisperCppSegment
impl UnsafeUnpin for WhisperCppSegment
impl UnwindSafe for WhisperCppSegment
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