Struct aws_sdk_rekognition::model::VideoMetadata
source · [−]#[non_exhaustive]pub struct VideoMetadata { /* private fields */ }Expand description
Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.
Implementations
sourceimpl VideoMetadata
impl VideoMetadata
sourcepub fn duration_millis(&self) -> Option<i64>
pub fn duration_millis(&self) -> Option<i64>
Length of the video in milliseconds.
sourcepub fn format(&self) -> Option<&str>
pub fn format(&self) -> Option<&str>
Format of the analyzed video. Possible values are MP4, MOV and AVI.
sourcepub fn frame_rate(&self) -> Option<f32>
pub fn frame_rate(&self) -> Option<f32>
Number of frames per second in the video.
sourcepub fn frame_height(&self) -> Option<i64>
pub fn frame_height(&self) -> Option<i64>
Vertical pixel dimension of the video.
sourcepub fn frame_width(&self) -> Option<i64>
pub fn frame_width(&self) -> Option<i64>
Horizontal pixel dimension of the video.
sourcepub fn color_range(&self) -> Option<&VideoColorRange>
pub fn color_range(&self) -> Option<&VideoColorRange>
A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
sourceimpl VideoMetadata
impl VideoMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VideoMetadata.
Trait Implementations
sourceimpl Clone for VideoMetadata
impl Clone for VideoMetadata
sourcefn clone(&self) -> VideoMetadata
fn clone(&self) -> VideoMetadata
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 VideoMetadata
impl Debug for VideoMetadata
sourceimpl PartialEq<VideoMetadata> for VideoMetadata
impl PartialEq<VideoMetadata> for VideoMetadata
sourcefn eq(&self, other: &VideoMetadata) -> bool
fn eq(&self, other: &VideoMetadata) -> bool
impl StructuralPartialEq for VideoMetadata
Auto Trait Implementations
impl RefUnwindSafe for VideoMetadata
impl Send for VideoMetadata
impl Sync for VideoMetadata
impl Unpin for VideoMetadata
impl UnwindSafe for VideoMetadata
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