#[non_exhaustive]pub struct GetSegmentDetectionOutput { /* private fields */ }Implementations
sourceimpl GetSegmentDetectionOutput
impl GetSegmentDetectionOutput
sourcepub fn job_status(&self) -> Option<&VideoJobStatus>
pub fn job_status(&self) -> Option<&VideoJobStatus>
Current status of the segment detection job.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
If the job fails, StatusMessage provides a descriptive error message.
sourcepub fn video_metadata(&self) -> Option<&[VideoMetadata]>
pub fn video_metadata(&self) -> Option<&[VideoMetadata]>
Currently, Amazon Rekognition Video returns a single object in the VideoMetadata array. The object contains information about the video stream in the input file that Amazon Rekognition Video chose to analyze. The VideoMetadata object includes the video codec, video format and other information. Video metadata is returned in each page of information returned by GetSegmentDetection.
sourcepub fn audio_metadata(&self) -> Option<&[AudioMetadata]>
pub fn audio_metadata(&self) -> Option<&[AudioMetadata]>
An array of objects. There can be multiple audio streams. Each AudioMetadata object contains metadata for a single audio stream. Audio information in an AudioMetadata objects includes the audio codec, the number of audio channels, the duration of the audio stream, and the sample rate. Audio metadata is returned in each page of information returned by GetSegmentDetection.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous response was incomplete (because there are more labels to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of text.
sourcepub fn segments(&self) -> Option<&[SegmentDetection]>
pub fn segments(&self) -> Option<&[SegmentDetection]>
An array of segments detected in a video. The array is sorted by the segment types (TECHNICAL_CUE or SHOT) specified in the SegmentTypes input parameter of StartSegmentDetection. Within each segment type the array is sorted by timestamp values.
sourcepub fn selected_segment_types(&self) -> Option<&[SegmentTypeInfo]>
pub fn selected_segment_types(&self) -> Option<&[SegmentTypeInfo]>
An array containing the segment types requested in the call to StartSegmentDetection.
sourceimpl GetSegmentDetectionOutput
impl GetSegmentDetectionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSegmentDetectionOutput.
Trait Implementations
sourceimpl Clone for GetSegmentDetectionOutput
impl Clone for GetSegmentDetectionOutput
sourcefn clone(&self) -> GetSegmentDetectionOutput
fn clone(&self) -> GetSegmentDetectionOutput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more