#[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
The type of matching. 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
The type of matching. 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>
The type of matching. 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 provider_properties(self, input: ProviderProperties) -> Self
pub fn provider_properties(self, input: ProviderProperties) -> Self
The properties of the provider service.
sourcepub fn set_provider_properties(self, input: Option<ProviderProperties>) -> Self
pub fn set_provider_properties(self, input: Option<ProviderProperties>) -> Self
The properties of the provider service.
sourcepub fn get_provider_properties(&self) -> &Option<ProviderProperties>
pub fn get_provider_properties(&self) -> &Option<ProviderProperties>
The properties of the provider service.
sourcepub fn build(self) -> Result<ResolutionTechniques, BuildError>
pub fn build(self) -> Result<ResolutionTechniques, BuildError>
Consumes the builder and constructs a ResolutionTechniques.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ResolutionTechniquesBuilder
impl Clone for ResolutionTechniquesBuilder
source§fn clone(&self) -> ResolutionTechniquesBuilder
fn clone(&self) -> ResolutionTechniquesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ResolutionTechniquesBuilder
impl PartialEq for ResolutionTechniquesBuilder
source§fn eq(&self, other: &ResolutionTechniquesBuilder) -> bool
fn eq(&self, other: &ResolutionTechniquesBuilder) -> bool
self and other values to be equal, and is used
by ==.