#[non_exhaustive]pub struct MedicalScribeSettingsBuilder { /* private fields */ }Expand description
A builder for MedicalScribeSettings.
Implementations§
source§impl MedicalScribeSettingsBuilder
impl MedicalScribeSettingsBuilder
sourcepub fn show_speaker_labels(self, input: bool) -> Self
pub fn show_speaker_labels(self, input: bool) -> Self
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker partitioning labels the speech from individual speakers in your media file.
If you enable ShowSpeakerLabels in your request, you must also include MaxSpeakerLabels.
For more information, see Partitioning speakers (diarization).
sourcepub fn set_show_speaker_labels(self, input: Option<bool>) -> Self
pub fn set_show_speaker_labels(self, input: Option<bool>) -> Self
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker partitioning labels the speech from individual speakers in your media file.
If you enable ShowSpeakerLabels in your request, you must also include MaxSpeakerLabels.
For more information, see Partitioning speakers (diarization).
sourcepub fn get_show_speaker_labels(&self) -> &Option<bool>
pub fn get_show_speaker_labels(&self) -> &Option<bool>
Enables speaker partitioning (diarization) in your Medical Scribe output. Speaker partitioning labels the speech from individual speakers in your media file.
If you enable ShowSpeakerLabels in your request, you must also include MaxSpeakerLabels.
For more information, see Partitioning speakers (diarization).
sourcepub fn max_speaker_labels(self, input: i32) -> Self
pub fn max_speaker_labels(self, input: i32) -> Self
Specify the maximum number of speakers you want to partition in your media.
Note that if your media contains more speakers than the specified number, multiple speakers are treated as a single speaker.
If you specify the MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true.
sourcepub fn set_max_speaker_labels(self, input: Option<i32>) -> Self
pub fn set_max_speaker_labels(self, input: Option<i32>) -> Self
Specify the maximum number of speakers you want to partition in your media.
Note that if your media contains more speakers than the specified number, multiple speakers are treated as a single speaker.
If you specify the MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true.
sourcepub fn get_max_speaker_labels(&self) -> &Option<i32>
pub fn get_max_speaker_labels(&self) -> &Option<i32>
Specify the maximum number of speakers you want to partition in your media.
Note that if your media contains more speakers than the specified number, multiple speakers are treated as a single speaker.
If you specify the MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true.
sourcepub fn channel_identification(self, input: bool) -> Self
pub fn channel_identification(self, input: bool) -> Self
Enables channel identification in multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
For more information, see Transcribing multi-channel audio.
sourcepub fn set_channel_identification(self, input: Option<bool>) -> Self
pub fn set_channel_identification(self, input: Option<bool>) -> Self
Enables channel identification in multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
For more information, see Transcribing multi-channel audio.
sourcepub fn get_channel_identification(&self) -> &Option<bool>
pub fn get_channel_identification(&self) -> &Option<bool>
Enables channel identification in multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
For more information, see Transcribing multi-channel audio.
sourcepub fn vocabulary_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_name(self, input: impl Into<String>) -> Self
The name of the custom vocabulary you want to include in your Medical Scribe request. Custom vocabulary names are case sensitive.
sourcepub fn set_vocabulary_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_name(self, input: Option<String>) -> Self
The name of the custom vocabulary you want to include in your Medical Scribe request. Custom vocabulary names are case sensitive.
sourcepub fn get_vocabulary_name(&self) -> &Option<String>
pub fn get_vocabulary_name(&self) -> &Option<String>
The name of the custom vocabulary you want to include in your Medical Scribe request. Custom vocabulary names are case sensitive.
sourcepub fn vocabulary_filter_name(self, input: impl Into<String>) -> Self
pub fn vocabulary_filter_name(self, input: impl Into<String>) -> Self
The name of the custom vocabulary filter you want to include in your Medical Scribe request. Custom vocabulary filter names are case sensitive.
Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod.
sourcepub fn set_vocabulary_filter_name(self, input: Option<String>) -> Self
pub fn set_vocabulary_filter_name(self, input: Option<String>) -> Self
The name of the custom vocabulary filter you want to include in your Medical Scribe request. Custom vocabulary filter names are case sensitive.
Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod.
sourcepub fn get_vocabulary_filter_name(&self) -> &Option<String>
pub fn get_vocabulary_filter_name(&self) -> &Option<String>
The name of the custom vocabulary filter you want to include in your Medical Scribe request. Custom vocabulary filter names are case sensitive.
Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod.
sourcepub fn vocabulary_filter_method(self, input: VocabularyFilterMethod) -> Self
pub fn vocabulary_filter_method(self, input: VocabularyFilterMethod) -> Self
Specify how you want your custom vocabulary filter applied to your transcript.
To replace words with ***, choose mask.
To delete words, choose remove.
To flag words without changing them, choose tag.
sourcepub fn set_vocabulary_filter_method(
self,
input: Option<VocabularyFilterMethod>,
) -> Self
pub fn set_vocabulary_filter_method( self, input: Option<VocabularyFilterMethod>, ) -> Self
Specify how you want your custom vocabulary filter applied to your transcript.
To replace words with ***, choose mask.
To delete words, choose remove.
To flag words without changing them, choose tag.
sourcepub fn get_vocabulary_filter_method(&self) -> &Option<VocabularyFilterMethod>
pub fn get_vocabulary_filter_method(&self) -> &Option<VocabularyFilterMethod>
Specify how you want your custom vocabulary filter applied to your transcript.
To replace words with ***, choose mask.
To delete words, choose remove.
To flag words without changing them, choose tag.
sourcepub fn build(self) -> MedicalScribeSettings
pub fn build(self) -> MedicalScribeSettings
Consumes the builder and constructs a MedicalScribeSettings.
Trait Implementations§
source§impl Clone for MedicalScribeSettingsBuilder
impl Clone for MedicalScribeSettingsBuilder
source§fn clone(&self) -> MedicalScribeSettingsBuilder
fn clone(&self) -> MedicalScribeSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MedicalScribeSettingsBuilder
impl Debug for MedicalScribeSettingsBuilder
source§impl Default for MedicalScribeSettingsBuilder
impl Default for MedicalScribeSettingsBuilder
source§fn default() -> MedicalScribeSettingsBuilder
fn default() -> MedicalScribeSettingsBuilder
source§impl PartialEq for MedicalScribeSettingsBuilder
impl PartialEq for MedicalScribeSettingsBuilder
source§fn eq(&self, other: &MedicalScribeSettingsBuilder) -> bool
fn eq(&self, other: &MedicalScribeSettingsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MedicalScribeSettingsBuilder
Auto Trait Implementations§
impl Freeze for MedicalScribeSettingsBuilder
impl RefUnwindSafe for MedicalScribeSettingsBuilder
impl Send for MedicalScribeSettingsBuilder
impl Sync for MedicalScribeSettingsBuilder
impl Unpin for MedicalScribeSettingsBuilder
impl UnwindSafe for MedicalScribeSettingsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more