Struct aws_sdk_rekognition::types::VideoMetadata
source · #[non_exhaustive]pub struct VideoMetadata {
pub codec: Option<String>,
pub duration_millis: Option<i64>,
pub format: Option<String>,
pub frame_rate: Option<f32>,
pub frame_height: Option<i64>,
pub frame_width: Option<i64>,
pub color_range: Option<VideoColorRange>,
}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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.codec: Option<String>Type of compression used in the analyzed video.
duration_millis: Option<i64>Length of the video in milliseconds.
format: Option<String>Format of the analyzed video. Possible values are MP4, MOV and AVI.
frame_rate: Option<f32>Number of frames per second in the video.
frame_height: Option<i64>Vertical pixel dimension of the video.
frame_width: Option<i64>Horizontal pixel dimension of the video.
color_range: Option<VideoColorRange>A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255).
Implementations§
source§impl 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).
source§impl VideoMetadata
impl VideoMetadata
sourcepub fn builder() -> VideoMetadataBuilder
pub fn builder() -> VideoMetadataBuilder
Creates a new builder-style object to manufacture VideoMetadata.
Trait Implementations§
source§impl Clone for VideoMetadata
impl Clone for VideoMetadata
source§fn clone(&self) -> VideoMetadata
fn clone(&self) -> VideoMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VideoMetadata
impl Debug for VideoMetadata
source§impl PartialEq for VideoMetadata
impl PartialEq for VideoMetadata
source§fn eq(&self, other: &VideoMetadata) -> bool
fn eq(&self, other: &VideoMetadata) -> bool
self and other values to be equal, and is used
by ==.