#[non_exhaustive]pub struct TagFilterBuilder { /* private fields */ }
Expand description
A builder for TagFilter
.
Implementations§
source§impl TagFilterBuilder
impl TagFilterBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name of the tag filter.
This field is required.sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
Values for the tag filter.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
Values for the tag filter.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
Values for the tag filter.
Trait Implementations§
source§impl Clone for TagFilterBuilder
impl Clone for TagFilterBuilder
source§fn clone(&self) -> TagFilterBuilder
fn clone(&self) -> TagFilterBuilder
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 TagFilterBuilder
impl Debug for TagFilterBuilder
source§impl Default for TagFilterBuilder
impl Default for TagFilterBuilder
source§fn default() -> TagFilterBuilder
fn default() -> TagFilterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TagFilterBuilder
impl PartialEq for TagFilterBuilder
source§fn eq(&self, other: &TagFilterBuilder) -> bool
fn eq(&self, other: &TagFilterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TagFilterBuilder
Auto Trait Implementations§
impl Freeze for TagFilterBuilder
impl RefUnwindSafe for TagFilterBuilder
impl Send for TagFilterBuilder
impl Sync for TagFilterBuilder
impl Unpin for TagFilterBuilder
impl UnwindSafe for TagFilterBuilder
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>
Creates a shared type from an unshared type.