Struct aws_sdk_transcribe::model::ChannelDefinition
source · [−]#[non_exhaustive]pub struct ChannelDefinition { /* private fields */ }Expand description
Allows you to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set ChannelId to 0 (to indicate the first channel) and ParticipantRole to AGENT (to indicate that it's the agent speaking).
Implementations
sourceimpl ChannelDefinition
impl ChannelDefinition
sourcepub fn channel_id(&self) -> i32
pub fn channel_id(&self) -> i32
Specify the audio channel you want to define.
sourcepub fn participant_role(&self) -> Option<&ParticipantRole>
pub fn participant_role(&self) -> Option<&ParticipantRole>
Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.
sourceimpl ChannelDefinition
impl ChannelDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ChannelDefinition.
Trait Implementations
sourceimpl Clone for ChannelDefinition
impl Clone for ChannelDefinition
sourcefn clone(&self) -> ChannelDefinition
fn clone(&self) -> ChannelDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ChannelDefinition
impl Debug for ChannelDefinition
sourceimpl PartialEq<ChannelDefinition> for ChannelDefinition
impl PartialEq<ChannelDefinition> for ChannelDefinition
sourcefn eq(&self, other: &ChannelDefinition) -> bool
fn eq(&self, other: &ChannelDefinition) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for ChannelDefinition
Auto Trait Implementations
impl RefUnwindSafe for ChannelDefinition
impl Send for ChannelDefinition
impl Sync for ChannelDefinition
impl Unpin for ChannelDefinition
impl UnwindSafe for ChannelDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more