Enum clean_insights_sdk::consents::ConsentState
source · [−]pub enum ConsentState {
Unconfigured,
Unknown,
Denied,
NotStarted,
Expired,
Granted,
}
Variants
Unconfigured
A campaign with that ID doesn’t exist or already expired.
Unknown
There’s no record of consent. User was probably never asked.
Denied
User denied consent. Don’t ask again!
NotStarted
Consent was given, but consent period has not yet started.
Expired
Consent was given, but consent period is over. You might ask again for a new period.
Granted
Consent was given and is currently valid.
Trait Implementations
sourceimpl Debug for ConsentState
impl Debug for ConsentState
sourceimpl PartialEq<ConsentState> for ConsentState
impl PartialEq<ConsentState> for ConsentState
impl StructuralPartialEq for ConsentState
Auto Trait Implementations
impl RefUnwindSafe for ConsentState
impl Send for ConsentState
impl Sync for ConsentState
impl Unpin for ConsentState
impl UnwindSafe for ConsentState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more