Struct aws_sdk_rekognition::types::SegmentTypeInfo
source · #[non_exhaustive]pub struct SegmentTypeInfo {
pub type: Option<SegmentType>,
pub model_version: Option<String>,
}
Expand description
Information about the type of a segment requested in a call to StartSegmentDetection
. An array of SegmentTypeInfo
objects is returned by the response from GetSegmentDetection
.
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.type: Option<SegmentType>
The type of a segment (technical cue or shot detection).
model_version: Option<String>
The version of the model used to detect segments.
Implementations§
source§impl SegmentTypeInfo
impl SegmentTypeInfo
sourcepub fn type(&self) -> Option<&SegmentType>
pub fn type(&self) -> Option<&SegmentType>
The type of a segment (technical cue or shot detection).
sourcepub fn model_version(&self) -> Option<&str>
pub fn model_version(&self) -> Option<&str>
The version of the model used to detect segments.
source§impl SegmentTypeInfo
impl SegmentTypeInfo
sourcepub fn builder() -> SegmentTypeInfoBuilder
pub fn builder() -> SegmentTypeInfoBuilder
Creates a new builder-style object to manufacture SegmentTypeInfo
.
Trait Implementations§
source§impl Clone for SegmentTypeInfo
impl Clone for SegmentTypeInfo
source§fn clone(&self) -> SegmentTypeInfo
fn clone(&self) -> SegmentTypeInfo
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 SegmentTypeInfo
impl Debug for SegmentTypeInfo
source§impl PartialEq<SegmentTypeInfo> for SegmentTypeInfo
impl PartialEq<SegmentTypeInfo> for SegmentTypeInfo
source§fn eq(&self, other: &SegmentTypeInfo) -> bool
fn eq(&self, other: &SegmentTypeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SegmentTypeInfo
Auto Trait Implementations§
impl RefUnwindSafe for SegmentTypeInfo
impl Send for SegmentTypeInfo
impl Sync for SegmentTypeInfo
impl Unpin for SegmentTypeInfo
impl UnwindSafe for SegmentTypeInfo
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