#[non_exhaustive]pub struct TopicSingularFilterConstantBuilder { /* private fields */ }
Expand description
A builder for TopicSingularFilterConstant
.
Implementations§
source§impl TopicSingularFilterConstantBuilder
impl TopicSingularFilterConstantBuilder
sourcepub fn constant_type(self, input: ConstantType) -> Self
pub fn constant_type(self, input: ConstantType) -> Self
The type of the singular filter constant. Valid values for this structure are SINGULAR
.
sourcepub fn set_constant_type(self, input: Option<ConstantType>) -> Self
pub fn set_constant_type(self, input: Option<ConstantType>) -> Self
The type of the singular filter constant. Valid values for this structure are SINGULAR
.
sourcepub fn get_constant_type(&self) -> &Option<ConstantType>
pub fn get_constant_type(&self) -> &Option<ConstantType>
The type of the singular filter constant. Valid values for this structure are SINGULAR
.
sourcepub fn singular_constant(self, input: impl Into<String>) -> Self
pub fn singular_constant(self, input: impl Into<String>) -> Self
The value of the singular filter constant.
sourcepub fn set_singular_constant(self, input: Option<String>) -> Self
pub fn set_singular_constant(self, input: Option<String>) -> Self
The value of the singular filter constant.
sourcepub fn get_singular_constant(&self) -> &Option<String>
pub fn get_singular_constant(&self) -> &Option<String>
The value of the singular filter constant.
sourcepub fn build(self) -> TopicSingularFilterConstant
pub fn build(self) -> TopicSingularFilterConstant
Consumes the builder and constructs a TopicSingularFilterConstant
.
Trait Implementations§
source§impl Clone for TopicSingularFilterConstantBuilder
impl Clone for TopicSingularFilterConstantBuilder
source§fn clone(&self) -> TopicSingularFilterConstantBuilder
fn clone(&self) -> TopicSingularFilterConstantBuilder
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 TopicSingularFilterConstantBuilder
impl Default for TopicSingularFilterConstantBuilder
source§fn default() -> TopicSingularFilterConstantBuilder
fn default() -> TopicSingularFilterConstantBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TopicSingularFilterConstantBuilder
impl PartialEq for TopicSingularFilterConstantBuilder
source§fn eq(&self, other: &TopicSingularFilterConstantBuilder) -> bool
fn eq(&self, other: &TopicSingularFilterConstantBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicSingularFilterConstantBuilder
Auto Trait Implementations§
impl Freeze for TopicSingularFilterConstantBuilder
impl RefUnwindSafe for TopicSingularFilterConstantBuilder
impl Send for TopicSingularFilterConstantBuilder
impl Sync for TopicSingularFilterConstantBuilder
impl Unpin for TopicSingularFilterConstantBuilder
impl UnwindSafe for TopicSingularFilterConstantBuilder
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.