#[non_exhaustive]pub struct SystemInstanceFilterBuilder { /* private fields */ }
Expand description
A builder for SystemInstanceFilter
.
Implementations§
source§impl SystemInstanceFilterBuilder
impl SystemInstanceFilterBuilder
sourcepub fn name(self, input: SystemInstanceFilterName) -> Self
pub fn name(self, input: SystemInstanceFilterName) -> Self
The name of the search filter field.
sourcepub fn set_name(self, input: Option<SystemInstanceFilterName>) -> Self
pub fn set_name(self, input: Option<SystemInstanceFilterName>) -> Self
The name of the search filter field.
sourcepub fn get_name(&self) -> &Option<SystemInstanceFilterName>
pub fn get_name(&self) -> &Option<SystemInstanceFilterName>
The name of the search filter field.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Appends an item to value
.
To override the contents of this collection use set_value
.
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
sourcepub fn set_value(self, input: Option<Vec<String>>) -> Self
pub fn set_value(self, input: Option<Vec<String>>) -> Self
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
sourcepub fn get_value(&self) -> &Option<Vec<String>>
pub fn get_value(&self) -> &Option<Vec<String>>
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
sourcepub fn build(self) -> SystemInstanceFilter
pub fn build(self) -> SystemInstanceFilter
Consumes the builder and constructs a SystemInstanceFilter
.
Trait Implementations§
source§impl Clone for SystemInstanceFilterBuilder
impl Clone for SystemInstanceFilterBuilder
source§fn clone(&self) -> SystemInstanceFilterBuilder
fn clone(&self) -> SystemInstanceFilterBuilder
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 SystemInstanceFilterBuilder
impl Debug for SystemInstanceFilterBuilder
source§impl Default for SystemInstanceFilterBuilder
impl Default for SystemInstanceFilterBuilder
source§fn default() -> SystemInstanceFilterBuilder
fn default() -> SystemInstanceFilterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SystemInstanceFilterBuilder
impl PartialEq for SystemInstanceFilterBuilder
source§fn eq(&self, other: &SystemInstanceFilterBuilder) -> bool
fn eq(&self, other: &SystemInstanceFilterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SystemInstanceFilterBuilder
Auto Trait Implementations§
impl Freeze for SystemInstanceFilterBuilder
impl RefUnwindSafe for SystemInstanceFilterBuilder
impl Send for SystemInstanceFilterBuilder
impl Sync for SystemInstanceFilterBuilder
impl Unpin for SystemInstanceFilterBuilder
impl UnwindSafe for SystemInstanceFilterBuilder
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.