pub enum Preference {
AllowsRetailRecommendations,
OptedOut,
UnknownRequiresReview,
}Expand description
Customer preference state used to suppress opted-out recommendations and review unknown consent.
Variants§
AllowsRetailRecommendations
Allows retail recommendations retail operational signal for inventory, POS, reorder, recommendation, or review handling.
OptedOut
Opted out retail operational signal for inventory, POS, reorder, recommendation, or review handling.
UnknownRequiresReview
Estimate confidence is unknown and must be reviewed.
Trait Implementations§
Source§impl Clone for Preference
impl Clone for Preference
Source§fn clone(&self) -> Preference
fn clone(&self) -> Preference
Returns a duplicate 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 Preference
impl Debug for Preference
Source§impl<'de> Deserialize<'de> for Preference
impl<'de> Deserialize<'de> for Preference
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Preference
impl PartialEq for Preference
Source§impl Serialize for Preference
impl Serialize for Preference
impl Copy for Preference
impl Eq for Preference
impl StructuralPartialEq for Preference
Auto Trait Implementations§
impl Freeze for Preference
impl RefUnwindSafe for Preference
impl Send for Preference
impl Sync for Preference
impl Unpin for Preference
impl UnsafeUnpin for Preference
impl UnwindSafe for Preference
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