pub struct DiarizationResult {
pub segments: Vec<Segment>,
pub turns: Vec<SpeakerTurn>,
pub num_speakers: usize,
}Expand description
Result of offline diarization.
Fields§
§segments: Vec<Segment>§turns: Vec<SpeakerTurn>§num_speakers: usizeTrait Implementations§
Source§impl Clone for DiarizationResult
impl Clone for DiarizationResult
Source§fn clone(&self) -> DiarizationResult
fn clone(&self) -> DiarizationResult
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 DiarizationResult
impl Debug for DiarizationResult
Source§impl<'de> Deserialize<'de> for DiarizationResult
impl<'de> Deserialize<'de> for DiarizationResult
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 DiarizationResult
impl PartialEq for DiarizationResult
Source§fn eq(&self, other: &DiarizationResult) -> bool
fn eq(&self, other: &DiarizationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DiarizationResult
impl Serialize for DiarizationResult
impl StructuralPartialEq for DiarizationResult
Auto Trait Implementations§
impl Freeze for DiarizationResult
impl RefUnwindSafe for DiarizationResult
impl Send for DiarizationResult
impl Sync for DiarizationResult
impl Unpin for DiarizationResult
impl UnsafeUnpin for DiarizationResult
impl UnwindSafe for DiarizationResult
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