Struct aws_sdk_rekognition::types::builders::SegmentTypeInfoBuilder
source · #[non_exhaustive]pub struct SegmentTypeInfoBuilder { /* private fields */ }Expand description
A builder for SegmentTypeInfo.
Implementations§
source§impl SegmentTypeInfoBuilder
impl SegmentTypeInfoBuilder
sourcepub fn type(self, input: SegmentType) -> Self
pub fn type(self, input: SegmentType) -> Self
The type of a segment (technical cue or shot detection).
sourcepub fn set_type(self, input: Option<SegmentType>) -> Self
pub fn set_type(self, input: Option<SegmentType>) -> Self
The type of a segment (technical cue or shot detection).
sourcepub fn get_type(&self) -> &Option<SegmentType>
pub fn get_type(&self) -> &Option<SegmentType>
The type of a segment (technical cue or shot detection).
sourcepub fn model_version(self, input: impl Into<String>) -> Self
pub fn model_version(self, input: impl Into<String>) -> Self
The version of the model used to detect segments.
sourcepub fn set_model_version(self, input: Option<String>) -> Self
pub fn set_model_version(self, input: Option<String>) -> Self
The version of the model used to detect segments.
sourcepub fn get_model_version(&self) -> &Option<String>
pub fn get_model_version(&self) -> &Option<String>
The version of the model used to detect segments.
sourcepub fn build(self) -> SegmentTypeInfo
pub fn build(self) -> SegmentTypeInfo
Consumes the builder and constructs a SegmentTypeInfo.
Trait Implementations§
source§impl Clone for SegmentTypeInfoBuilder
impl Clone for SegmentTypeInfoBuilder
source§fn clone(&self) -> SegmentTypeInfoBuilder
fn clone(&self) -> SegmentTypeInfoBuilder
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 SegmentTypeInfoBuilder
impl Debug for SegmentTypeInfoBuilder
source§impl Default for SegmentTypeInfoBuilder
impl Default for SegmentTypeInfoBuilder
source§fn default() -> SegmentTypeInfoBuilder
fn default() -> SegmentTypeInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SegmentTypeInfoBuilder
impl PartialEq for SegmentTypeInfoBuilder
impl StructuralPartialEq for SegmentTypeInfoBuilder
Auto Trait Implementations§
impl Freeze for SegmentTypeInfoBuilder
impl RefUnwindSafe for SegmentTypeInfoBuilder
impl Send for SegmentTypeInfoBuilder
impl Sync for SegmentTypeInfoBuilder
impl Unpin for SegmentTypeInfoBuilder
impl UnwindSafe for SegmentTypeInfoBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.