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 ==.impl StructuralPartialEq for VideoMetadata
Auto Trait Implementations§
impl Freeze for VideoMetadata
impl RefUnwindSafe for VideoMetadata
impl Send for VideoMetadata
impl Sync for VideoMetadata
impl Unpin for VideoMetadata
impl UnwindSafe for VideoMetadata
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more