#[non_exhaustive]pub struct ResolutionTechniquesBuilder { /* private fields */ }
Expand description
A builder for ResolutionTechniques
.
Implementations§
source§impl ResolutionTechniquesBuilder
impl ResolutionTechniquesBuilder
sourcepub fn resolution_type(self, input: ResolutionType) -> Self
pub fn resolution_type(self, input: ResolutionType) -> Self
There are two types of matching, RULE_MATCHING
and ML_MATCHING
sourcepub fn set_resolution_type(self, input: Option<ResolutionType>) -> Self
pub fn set_resolution_type(self, input: Option<ResolutionType>) -> Self
There are two types of matching, RULE_MATCHING
and ML_MATCHING
sourcepub fn get_resolution_type(&self) -> &Option<ResolutionType>
pub fn get_resolution_type(&self) -> &Option<ResolutionType>
There are two types of matching, RULE_MATCHING
and ML_MATCHING
sourcepub fn rule_based_properties(self, input: RuleBasedProperties) -> Self
pub fn rule_based_properties(self, input: RuleBasedProperties) -> Self
An object which defines the list of matching rules to run and has a field Rules
, which is a list of rule objects.
sourcepub fn set_rule_based_properties(
self,
input: Option<RuleBasedProperties>
) -> Self
pub fn set_rule_based_properties( self, input: Option<RuleBasedProperties> ) -> Self
An object which defines the list of matching rules to run and has a field Rules
, which is a list of rule objects.
sourcepub fn get_rule_based_properties(&self) -> &Option<RuleBasedProperties>
pub fn get_rule_based_properties(&self) -> &Option<RuleBasedProperties>
An object which defines the list of matching rules to run and has a field Rules
, which is a list of rule objects.
sourcepub fn build(self) -> ResolutionTechniques
pub fn build(self) -> ResolutionTechniques
Consumes the builder and constructs a ResolutionTechniques
.
Trait Implementations§
source§impl Clone for ResolutionTechniquesBuilder
impl Clone for ResolutionTechniquesBuilder
source§fn clone(&self) -> ResolutionTechniquesBuilder
fn clone(&self) -> ResolutionTechniquesBuilder
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 ResolutionTechniquesBuilder
impl Debug for ResolutionTechniquesBuilder
source§impl Default for ResolutionTechniquesBuilder
impl Default for ResolutionTechniquesBuilder
source§fn default() -> ResolutionTechniquesBuilder
fn default() -> ResolutionTechniquesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ResolutionTechniquesBuilder> for ResolutionTechniquesBuilder
impl PartialEq<ResolutionTechniquesBuilder> for ResolutionTechniquesBuilder
source§fn eq(&self, other: &ResolutionTechniquesBuilder) -> bool
fn eq(&self, other: &ResolutionTechniquesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResolutionTechniquesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ResolutionTechniquesBuilder
impl Send for ResolutionTechniquesBuilder
impl Sync for ResolutionTechniquesBuilder
impl Unpin for ResolutionTechniquesBuilder
impl UnwindSafe for ResolutionTechniquesBuilder
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