pub enum CreativeFeatures {
OptIn,
OptOut,
}Expand description
Advantage+ creative enhancements: partial map of Meta creative feature keys (snake_case) to enroll status, forwarded as degrees_of_freedom_spec.creative_features_spec. Unspecified features default to OPT_OUT.
Variants§
Trait Implementations§
Source§impl Clone for CreativeFeatures
impl Clone for CreativeFeatures
Source§fn clone(&self) -> CreativeFeatures
fn clone(&self) -> CreativeFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreativeFeatures
Source§impl Debug for CreativeFeatures
impl Debug for CreativeFeatures
Source§impl Default for CreativeFeatures
impl Default for CreativeFeatures
Source§fn default() -> CreativeFeatures
fn default() -> CreativeFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreativeFeatures
impl<'de> Deserialize<'de> for CreativeFeatures
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
impl Eq for CreativeFeatures
Source§impl Hash for CreativeFeatures
impl Hash for CreativeFeatures
Source§impl Ord for CreativeFeatures
impl Ord for CreativeFeatures
Source§fn cmp(&self, other: &CreativeFeatures) -> Ordering
fn cmp(&self, other: &CreativeFeatures) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CreativeFeatures
impl PartialEq for CreativeFeatures
Source§impl PartialOrd for CreativeFeatures
impl PartialOrd for CreativeFeatures
Source§impl Serialize for CreativeFeatures
impl Serialize for CreativeFeatures
impl StructuralPartialEq for CreativeFeatures
Auto Trait Implementations§
impl Freeze for CreativeFeatures
impl RefUnwindSafe for CreativeFeatures
impl Send for CreativeFeatures
impl Sync for CreativeFeatures
impl Unpin for CreativeFeatures
impl UnsafeUnpin for CreativeFeatures
impl UnwindSafe for CreativeFeatures
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