#[non_exhaustive]pub struct RecommendationSet {
pub transformation_tool: Option<TransformationTool>,
pub target_destination: Option<TargetDestination>,
pub strategy: Option<Strategy>,
}
Expand description
Contains a recommendation set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.transformation_tool: Option<TransformationTool>
The target destination for the recommendation set.
target_destination: Option<TargetDestination>
The recommended target destination.
strategy: Option<Strategy>
The recommended strategy.
Implementations§
source§impl RecommendationSet
impl RecommendationSet
sourcepub fn transformation_tool(&self) -> Option<&TransformationTool>
pub fn transformation_tool(&self) -> Option<&TransformationTool>
The target destination for the recommendation set.
sourcepub fn target_destination(&self) -> Option<&TargetDestination>
pub fn target_destination(&self) -> Option<&TargetDestination>
The recommended target destination.
source§impl RecommendationSet
impl RecommendationSet
sourcepub fn builder() -> RecommendationSetBuilder
pub fn builder() -> RecommendationSetBuilder
Creates a new builder-style object to manufacture RecommendationSet
.
Trait Implementations§
source§impl Clone for RecommendationSet
impl Clone for RecommendationSet
source§fn clone(&self) -> RecommendationSet
fn clone(&self) -> RecommendationSet
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 RecommendationSet
impl Debug for RecommendationSet
source§impl PartialEq for RecommendationSet
impl PartialEq for RecommendationSet
source§fn eq(&self, other: &RecommendationSet) -> bool
fn eq(&self, other: &RecommendationSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationSet
Auto Trait Implementations§
impl RefUnwindSafe for RecommendationSet
impl Send for RecommendationSet
impl Sync for RecommendationSet
impl Unpin for RecommendationSet
impl UnwindSafe for RecommendationSet
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.