#[non_exhaustive]pub struct RecommendationSetBuilder { /* private fields */ }Expand description
A builder for RecommendationSet.
Implementations§
source§impl RecommendationSetBuilder
impl RecommendationSetBuilder
sourcepub fn transformation_tool(self, input: TransformationTool) -> Self
pub fn transformation_tool(self, input: TransformationTool) -> Self
The target destination for the recommendation set.
sourcepub fn set_transformation_tool(self, input: Option<TransformationTool>) -> Self
pub fn set_transformation_tool(self, input: Option<TransformationTool>) -> Self
The target destination for the recommendation set.
sourcepub fn get_transformation_tool(&self) -> &Option<TransformationTool>
pub fn get_transformation_tool(&self) -> &Option<TransformationTool>
The target destination for the recommendation set.
sourcepub fn target_destination(self, input: TargetDestination) -> Self
pub fn target_destination(self, input: TargetDestination) -> Self
The recommended target destination.
sourcepub fn set_target_destination(self, input: Option<TargetDestination>) -> Self
pub fn set_target_destination(self, input: Option<TargetDestination>) -> Self
The recommended target destination.
sourcepub fn get_target_destination(&self) -> &Option<TargetDestination>
pub fn get_target_destination(&self) -> &Option<TargetDestination>
The recommended target destination.
sourcepub fn set_strategy(self, input: Option<Strategy>) -> Self
pub fn set_strategy(self, input: Option<Strategy>) -> Self
The recommended strategy.
sourcepub fn get_strategy(&self) -> &Option<Strategy>
pub fn get_strategy(&self) -> &Option<Strategy>
The recommended strategy.
sourcepub fn build(self) -> RecommendationSet
pub fn build(self) -> RecommendationSet
Consumes the builder and constructs a RecommendationSet.
Trait Implementations§
source§impl Clone for RecommendationSetBuilder
impl Clone for RecommendationSetBuilder
source§fn clone(&self) -> RecommendationSetBuilder
fn clone(&self) -> RecommendationSetBuilder
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 RecommendationSetBuilder
impl Debug for RecommendationSetBuilder
source§impl Default for RecommendationSetBuilder
impl Default for RecommendationSetBuilder
source§fn default() -> RecommendationSetBuilder
fn default() -> RecommendationSetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RecommendationSetBuilder
impl PartialEq for RecommendationSetBuilder
source§fn eq(&self, other: &RecommendationSetBuilder) -> bool
fn eq(&self, other: &RecommendationSetBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecommendationSetBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RecommendationSetBuilder
impl Send for RecommendationSetBuilder
impl Sync for RecommendationSetBuilder
impl Unpin for RecommendationSetBuilder
impl UnwindSafe for RecommendationSetBuilder
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.