Struct aws_sdk_rekognition::model::AudioMetadata
source · [−]#[non_exhaustive]pub struct AudioMetadata { /* private fields */ }Expand description
Metadata information about an audio stream. An array of AudioMetadata objects for the audio streams found in a stored video is returned by GetSegmentDetection.
Implementations
sourceimpl AudioMetadata
impl AudioMetadata
sourcepub fn duration_millis(&self) -> Option<i64>
pub fn duration_millis(&self) -> Option<i64>
The duration of the audio stream in milliseconds.
sourcepub fn sample_rate(&self) -> Option<i64>
pub fn sample_rate(&self) -> Option<i64>
The sample rate for the audio stream.
sourcepub fn number_of_channels(&self) -> Option<i64>
pub fn number_of_channels(&self) -> Option<i64>
The number of audio channels in the segment.
sourceimpl AudioMetadata
impl AudioMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AudioMetadata.
Trait Implementations
sourceimpl Clone for AudioMetadata
impl Clone for AudioMetadata
sourcefn clone(&self) -> AudioMetadata
fn clone(&self) -> AudioMetadata
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 AudioMetadata
impl Debug for AudioMetadata
sourceimpl PartialEq<AudioMetadata> for AudioMetadata
impl PartialEq<AudioMetadata> for AudioMetadata
sourcefn eq(&self, other: &AudioMetadata) -> bool
fn eq(&self, other: &AudioMetadata) -> bool
impl StructuralPartialEq for AudioMetadata
Auto Trait Implementations
impl RefUnwindSafe for AudioMetadata
impl Send for AudioMetadata
impl Sync for AudioMetadata
impl Unpin for AudioMetadata
impl UnwindSafe for AudioMetadata
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