Struct aws_sdk_rekognition::types::ShotSegment
source · #[non_exhaustive]pub struct ShotSegment {
pub index: Option<i64>,
pub confidence: Option<f32>,
}
Expand description
Information about a shot detection segment detected in a video. For more information, see SegmentDetection
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.index: Option<i64>
An Identifier for a shot detection segment detected in a video.
confidence: Option<f32>
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
Implementations§
source§impl ShotSegment
impl ShotSegment
source§impl ShotSegment
impl ShotSegment
sourcepub fn builder() -> ShotSegmentBuilder
pub fn builder() -> ShotSegmentBuilder
Creates a new builder-style object to manufacture ShotSegment
.
Trait Implementations§
source§impl Clone for ShotSegment
impl Clone for ShotSegment
source§fn clone(&self) -> ShotSegment
fn clone(&self) -> ShotSegment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShotSegment
impl Debug for ShotSegment
source§impl PartialEq<ShotSegment> for ShotSegment
impl PartialEq<ShotSegment> for ShotSegment
source§fn eq(&self, other: &ShotSegment) -> bool
fn eq(&self, other: &ShotSegment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ShotSegment
Auto Trait Implementations§
impl RefUnwindSafe for ShotSegment
impl Send for ShotSegment
impl Sync for ShotSegment
impl Unpin for ShotSegment
impl UnwindSafe for ShotSegment
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
Mutably borrows from an owned value. Read more