pub struct GetSegmentDetectionResponse {
pub audio_metadata: Option<Vec<AudioMetadata>>,
pub job_status: Option<String>,
pub next_token: Option<String>,
pub segments: Option<Vec<SegmentDetection>>,
pub selected_segment_types: Option<Vec<SegmentTypeInfo>>,
pub status_message: Option<String>,
pub video_metadata: Option<Vec<VideoMetadata>>,
}
Fields
audio_metadata: Option<Vec<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
.
job_status: Option<String>
Current status of the segment detection job.
next_token: Option<String>
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.
segments: Option<Vec<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.
selected_segment_types: Option<Vec<SegmentTypeInfo>>
An array containing the segment types requested in the call to StartSegmentDetection
.
status_message: Option<String>
If the job fails, StatusMessage
provides a descriptive error message.
video_metadata: Option<Vec<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
.
Trait Implementations
sourceimpl Clone for GetSegmentDetectionResponse
impl Clone for GetSegmentDetectionResponse
sourcefn clone(&self) -> GetSegmentDetectionResponse
fn clone(&self) -> GetSegmentDetectionResponse
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 more
sourceimpl Debug for GetSegmentDetectionResponse
impl Debug for GetSegmentDetectionResponse
sourceimpl Default for GetSegmentDetectionResponse
impl Default for GetSegmentDetectionResponse
sourcefn default() -> GetSegmentDetectionResponse
fn default() -> GetSegmentDetectionResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetSegmentDetectionResponse
impl<'de> Deserialize<'de> for GetSegmentDetectionResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GetSegmentDetectionResponse> for GetSegmentDetectionResponse
impl PartialEq<GetSegmentDetectionResponse> for GetSegmentDetectionResponse
sourcefn eq(&self, other: &GetSegmentDetectionResponse) -> bool
fn eq(&self, other: &GetSegmentDetectionResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetSegmentDetectionResponse) -> bool
fn ne(&self, other: &GetSegmentDetectionResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetSegmentDetectionResponse
Auto Trait Implementations
impl RefUnwindSafe for GetSegmentDetectionResponse
impl Send for GetSegmentDetectionResponse
impl Sync for GetSegmentDetectionResponse
impl Unpin for GetSegmentDetectionResponse
impl UnwindSafe for GetSegmentDetectionResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more