#[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 three types of matching: RULE_MATCHING, ML_MATCHING, and PROVIDER.
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 three types of matching: RULE_MATCHING, ML_MATCHING, and PROVIDER.
sourcepub fn get_resolution_type(&self) -> &Option<ResolutionType>
pub fn get_resolution_type(&self) -> &Option<ResolutionType>
The type of matching. There are three types of matching: RULE_MATCHING, ML_MATCHING, and PROVIDER.
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
impl StructuralPartialEq for ResolutionTechniquesBuilder
Auto Trait Implementations§
impl Freeze for ResolutionTechniquesBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more