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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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