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§
source§impl 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.
source§impl ChannelDefinition
impl ChannelDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ChannelDefinition.
Trait Implementations§
source§impl Clone for ChannelDefinition
impl Clone for ChannelDefinition
source§fn clone(&self) -> ChannelDefinition
fn clone(&self) -> ChannelDefinition
Returns a copy 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 more