pub struct Preference {
pub auto_enrollment: Option<Vec<AutoEnrollmentPreference>>,
}Expand description
Preference : Offer preferences that you can include in the result filter criteria.
Fields§
§auto_enrollment: Option<Vec<AutoEnrollmentPreference>>Filters the results to only include offers with the auto-enrollment preference specified.
Implementations§
Source§impl Preference
impl Preference
Sourcepub fn new() -> Preference
pub fn new() -> Preference
Offer preferences that you can include in the result filter criteria.
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 Default for Preference
impl Default for Preference
Source§fn default() -> Preference
fn default() -> Preference
Returns the “default value” for a type. Read more
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 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 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