#[non_exhaustive]pub struct SpeakerDiarizationConfig {
pub min_speaker_count: i32,
pub max_speaker_count: i32,
/* private fields */
}Expand description
Configuration to enable speaker diarization.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.min_speaker_count: i32Optional. The system automatically determines the number of speakers. This value is not currently used.
max_speaker_count: i32Optional. The system automatically determines the number of speakers. This value is not currently used.
Implementations§
Source§impl SpeakerDiarizationConfig
impl SpeakerDiarizationConfig
pub fn new() -> Self
Sourcepub fn set_min_speaker_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_min_speaker_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of min_speaker_count.
§Example
ⓘ
let x = SpeakerDiarizationConfig::new().set_min_speaker_count(42);Sourcepub fn set_max_speaker_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_max_speaker_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of max_speaker_count.
§Example
ⓘ
let x = SpeakerDiarizationConfig::new().set_max_speaker_count(42);Trait Implementations§
Source§impl Clone for SpeakerDiarizationConfig
impl Clone for SpeakerDiarizationConfig
Source§fn clone(&self) -> SpeakerDiarizationConfig
fn clone(&self) -> SpeakerDiarizationConfig
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 SpeakerDiarizationConfig
impl Debug for SpeakerDiarizationConfig
Source§impl Default for SpeakerDiarizationConfig
impl Default for SpeakerDiarizationConfig
Source§fn default() -> SpeakerDiarizationConfig
fn default() -> SpeakerDiarizationConfig
Returns the “default value” for a type. Read more
Source§impl Message for SpeakerDiarizationConfig
impl Message for SpeakerDiarizationConfig
Source§impl PartialEq for SpeakerDiarizationConfig
impl PartialEq for SpeakerDiarizationConfig
impl StructuralPartialEq for SpeakerDiarizationConfig
Auto Trait Implementations§
impl Freeze for SpeakerDiarizationConfig
impl RefUnwindSafe for SpeakerDiarizationConfig
impl Send for SpeakerDiarizationConfig
impl Sync for SpeakerDiarizationConfig
impl Unpin for SpeakerDiarizationConfig
impl UnsafeUnpin for SpeakerDiarizationConfig
impl UnwindSafe for SpeakerDiarizationConfig
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