Struct rusoto_rekognition::SegmentDetection
source · [−]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>,
}
Expand description
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
sourceimpl Clone for SegmentDetection
impl Clone for SegmentDetection
sourcefn clone(&self) -> SegmentDetection
fn clone(&self) -> SegmentDetection
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 SegmentDetection
impl Debug for SegmentDetection
sourceimpl Default for SegmentDetection
impl Default for SegmentDetection
sourcefn default() -> SegmentDetection
fn default() -> SegmentDetection
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SegmentDetection
impl<'de> Deserialize<'de> for SegmentDetection
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<SegmentDetection> for SegmentDetection
impl PartialEq<SegmentDetection> for SegmentDetection
sourcefn eq(&self, other: &SegmentDetection) -> bool
fn eq(&self, other: &SegmentDetection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SegmentDetection) -> bool
fn ne(&self, other: &SegmentDetection) -> bool
This method tests for !=
.
impl StructuralPartialEq for SegmentDetection
Auto Trait Implementations
impl RefUnwindSafe for SegmentDetection
impl Send for SegmentDetection
impl Sync for SegmentDetection
impl Unpin for SegmentDetection
impl UnwindSafe for SegmentDetection
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