#[non_exhaustive]pub struct ConsolidationBuilder { /* private fields */ }
Expand description
A builder for Consolidation
.
Implementations§
source§impl ConsolidationBuilder
impl ConsolidationBuilder
sourcepub fn matching_attributes_list(self, input: Vec<String>) -> Self
pub fn matching_attributes_list(self, input: Vec<String>) -> Self
Appends an item to matching_attributes_list
.
To override the contents of this collection use set_matching_attributes_list
.
A list of matching criteria.
sourcepub fn set_matching_attributes_list(
self,
input: Option<Vec<Vec<String>>>
) -> Self
pub fn set_matching_attributes_list( self, input: Option<Vec<Vec<String>>> ) -> Self
A list of matching criteria.
sourcepub fn get_matching_attributes_list(&self) -> &Option<Vec<Vec<String>>>
pub fn get_matching_attributes_list(&self) -> &Option<Vec<Vec<String>>>
A list of matching criteria.
sourcepub fn build(self) -> Result<Consolidation, BuildError>
pub fn build(self) -> Result<Consolidation, BuildError>
Consumes the builder and constructs a Consolidation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConsolidationBuilder
impl Clone for ConsolidationBuilder
source§fn clone(&self) -> ConsolidationBuilder
fn clone(&self) -> ConsolidationBuilder
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 ConsolidationBuilder
impl Debug for ConsolidationBuilder
source§impl Default for ConsolidationBuilder
impl Default for ConsolidationBuilder
source§fn default() -> ConsolidationBuilder
fn default() -> ConsolidationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConsolidationBuilder
impl PartialEq for ConsolidationBuilder
source§fn eq(&self, other: &ConsolidationBuilder) -> bool
fn eq(&self, other: &ConsolidationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConsolidationBuilder
Auto Trait Implementations§
impl Freeze for ConsolidationBuilder
impl RefUnwindSafe for ConsolidationBuilder
impl Send for ConsolidationBuilder
impl Sync for ConsolidationBuilder
impl Unpin for ConsolidationBuilder
impl UnwindSafe for ConsolidationBuilder
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.