#[non_exhaustive]pub struct TopicIrComparisonMethodBuilder { /* private fields */ }
Expand description
A builder for TopicIrComparisonMethod
.
Implementations§
source§impl TopicIrComparisonMethodBuilder
impl TopicIrComparisonMethodBuilder
sourcepub fn type(self, input: ComparisonMethodType) -> Self
pub fn type(self, input: ComparisonMethodType) -> Self
The type for the TopicIRComparisonMethod
.
sourcepub fn set_type(self, input: Option<ComparisonMethodType>) -> Self
pub fn set_type(self, input: Option<ComparisonMethodType>) -> Self
The type for the TopicIRComparisonMethod
.
sourcepub fn get_type(&self) -> &Option<ComparisonMethodType>
pub fn get_type(&self) -> &Option<ComparisonMethodType>
The type for the TopicIRComparisonMethod
.
sourcepub fn period(self, input: TopicTimeGranularity) -> Self
pub fn period(self, input: TopicTimeGranularity) -> Self
The period for the TopicIRComparisonMethod
.
sourcepub fn set_period(self, input: Option<TopicTimeGranularity>) -> Self
pub fn set_period(self, input: Option<TopicTimeGranularity>) -> Self
The period for the TopicIRComparisonMethod
.
sourcepub fn get_period(&self) -> &Option<TopicTimeGranularity>
pub fn get_period(&self) -> &Option<TopicTimeGranularity>
The period for the TopicIRComparisonMethod
.
sourcepub fn window_size(self, input: i32) -> Self
pub fn window_size(self, input: i32) -> Self
The window size for the TopicIRComparisonMethod
.
sourcepub fn set_window_size(self, input: Option<i32>) -> Self
pub fn set_window_size(self, input: Option<i32>) -> Self
The window size for the TopicIRComparisonMethod
.
sourcepub fn get_window_size(&self) -> &Option<i32>
pub fn get_window_size(&self) -> &Option<i32>
The window size for the TopicIRComparisonMethod
.
sourcepub fn build(self) -> TopicIrComparisonMethod
pub fn build(self) -> TopicIrComparisonMethod
Consumes the builder and constructs a TopicIrComparisonMethod
.
Trait Implementations§
source§impl Clone for TopicIrComparisonMethodBuilder
impl Clone for TopicIrComparisonMethodBuilder
source§fn clone(&self) -> TopicIrComparisonMethodBuilder
fn clone(&self) -> TopicIrComparisonMethodBuilder
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 Default for TopicIrComparisonMethodBuilder
impl Default for TopicIrComparisonMethodBuilder
source§fn default() -> TopicIrComparisonMethodBuilder
fn default() -> TopicIrComparisonMethodBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TopicIrComparisonMethodBuilder
impl PartialEq for TopicIrComparisonMethodBuilder
source§fn eq(&self, other: &TopicIrComparisonMethodBuilder) -> bool
fn eq(&self, other: &TopicIrComparisonMethodBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TopicIrComparisonMethodBuilder
Auto Trait Implementations§
impl Freeze for TopicIrComparisonMethodBuilder
impl RefUnwindSafe for TopicIrComparisonMethodBuilder
impl Send for TopicIrComparisonMethodBuilder
impl Sync for TopicIrComparisonMethodBuilder
impl Unpin for TopicIrComparisonMethodBuilder
impl UnwindSafe for TopicIrComparisonMethodBuilder
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.