pub enum PublisherRestrictionType {
NotAllowed,
RequireConsent,
RequireLegitimateInterest,
Undefined,
}
Expand description
Contains restriction types as defined in Vendor Consent String Format V2 Core String
Variants§
NotAllowed
Purpose Flatly Not Allowed by Publisher
RequireConsent
Specifies that vendors need to have consent
RequireLegitimateInterest
Specifies that vendors need to have “Legitimate Interest”
Undefined
Should not be used
Trait Implementations§
source§impl Clone for PublisherRestrictionType
impl Clone for PublisherRestrictionType
source§fn clone(&self) -> PublisherRestrictionType
fn clone(&self) -> PublisherRestrictionType
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 PublisherRestrictionType
impl Debug for PublisherRestrictionType
source§impl Default for PublisherRestrictionType
impl Default for PublisherRestrictionType
source§impl Hash for PublisherRestrictionType
impl Hash for PublisherRestrictionType
source§impl PartialEq for PublisherRestrictionType
impl PartialEq for PublisherRestrictionType
source§fn eq(&self, other: &PublisherRestrictionType) -> bool
fn eq(&self, other: &PublisherRestrictionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PublisherRestrictionType
impl PartialOrd for PublisherRestrictionType
source§fn partial_cmp(&self, other: &PublisherRestrictionType) -> Option<Ordering>
fn partial_cmp(&self, other: &PublisherRestrictionType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PublisherRestrictionType
impl StructuralPartialEq for PublisherRestrictionType
Auto Trait Implementations§
impl Freeze for PublisherRestrictionType
impl RefUnwindSafe for PublisherRestrictionType
impl Send for PublisherRestrictionType
impl Sync for PublisherRestrictionType
impl Unpin for PublisherRestrictionType
impl UnwindSafe for PublisherRestrictionType
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