#[non_exhaustive]pub struct DetectorModelSummaryBuilder { /* private fields */ }
Expand description
A builder for DetectorModelSummary
.
Implementations§
source§impl DetectorModelSummaryBuilder
impl DetectorModelSummaryBuilder
sourcepub fn detector_model_name(self, input: impl Into<String>) -> Self
pub fn detector_model_name(self, input: impl Into<String>) -> Self
The name of the detector model.
sourcepub fn set_detector_model_name(self, input: Option<String>) -> Self
pub fn set_detector_model_name(self, input: Option<String>) -> Self
The name of the detector model.
sourcepub fn get_detector_model_name(&self) -> &Option<String>
pub fn get_detector_model_name(&self) -> &Option<String>
The name of the detector model.
sourcepub fn detector_model_description(self, input: impl Into<String>) -> Self
pub fn detector_model_description(self, input: impl Into<String>) -> Self
A brief description of the detector model.
sourcepub fn set_detector_model_description(self, input: Option<String>) -> Self
pub fn set_detector_model_description(self, input: Option<String>) -> Self
A brief description of the detector model.
sourcepub fn get_detector_model_description(&self) -> &Option<String>
pub fn get_detector_model_description(&self) -> &Option<String>
A brief description of the detector model.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the detector model was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the detector model was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time the detector model was created.
sourcepub fn build(self) -> DetectorModelSummary
pub fn build(self) -> DetectorModelSummary
Consumes the builder and constructs a DetectorModelSummary
.
Trait Implementations§
source§impl Clone for DetectorModelSummaryBuilder
impl Clone for DetectorModelSummaryBuilder
source§fn clone(&self) -> DetectorModelSummaryBuilder
fn clone(&self) -> DetectorModelSummaryBuilder
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 DetectorModelSummaryBuilder
impl Debug for DetectorModelSummaryBuilder
source§impl Default for DetectorModelSummaryBuilder
impl Default for DetectorModelSummaryBuilder
source§fn default() -> DetectorModelSummaryBuilder
fn default() -> DetectorModelSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetectorModelSummaryBuilder
impl PartialEq for DetectorModelSummaryBuilder
source§fn eq(&self, other: &DetectorModelSummaryBuilder) -> bool
fn eq(&self, other: &DetectorModelSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectorModelSummaryBuilder
Auto Trait Implementations§
impl Freeze for DetectorModelSummaryBuilder
impl RefUnwindSafe for DetectorModelSummaryBuilder
impl Send for DetectorModelSummaryBuilder
impl Sync for DetectorModelSummaryBuilder
impl Unpin for DetectorModelSummaryBuilder
impl UnwindSafe for DetectorModelSummaryBuilder
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> 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.