[][src]Struct rusoto_rekognition::SegmentDetection

pub struct SegmentDetection {
    pub duration_millis: Option<i64>,
    pub duration_smpte: Option<String>,
    pub end_timecode_smpte: Option<String>,
    pub end_timestamp_millis: Option<i64>,
    pub shot_segment: Option<ShotSegment>,
    pub start_timecode_smpte: Option<String>,
    pub start_timestamp_millis: Option<i64>,
    pub technical_cue_segment: Option<TechnicalCueSegment>,
    pub type_: Option<String>,
}

A technical cue or shot detection segment detected in a video. An array of SegmentDetection objects containing all segments detected in a stored video is returned by GetSegmentDetection.

Fields

duration_millis: Option<i64>

The duration of the detected segment in milliseconds.

duration_smpte: Option<String>

The duration of the timecode for the detected segment in SMPTE format.

end_timecode_smpte: Option<String>

The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment. EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

end_timestamp_millis: Option<i64>

The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.

shot_segment: Option<ShotSegment>

If the segment is a shot detection, contains information about the shot detection.

start_timecode_smpte: Option<String>

The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment. StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).

start_timestamp_millis: Option<i64>

The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis.

technical_cue_segment: Option<TechnicalCueSegment>

If the segment is a technical cue, contains information about the technical cue.

type_: Option<String>

The type of the segment. Valid values are TECHNICAL_CUE and SHOT.

Trait Implementations

impl Clone for SegmentDetection[src]

impl Debug for SegmentDetection[src]

impl Default for SegmentDetection[src]

impl<'de> Deserialize<'de> for SegmentDetection[src]

impl PartialEq<SegmentDetection> for SegmentDetection[src]

impl StructuralPartialEq for SegmentDetection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.