pub enum DeviceConsentPolicy {
Headless,
RequireReceipt {
subject: Symbol,
},
}Expand description
Consent policy carried by device verbs into host composition.
Variants§
Headless
The route is explicitly headless and requires no interactive receipt.
RequireReceipt
A human-visible receipt must be associated with the route before use.
Trait Implementations§
Source§impl Clone for DeviceConsentPolicy
impl Clone for DeviceConsentPolicy
Source§impl Debug for DeviceConsentPolicy
impl Debug for DeviceConsentPolicy
impl Eq for DeviceConsentPolicy
Source§impl PartialEq for DeviceConsentPolicy
impl PartialEq for DeviceConsentPolicy
impl StructuralPartialEq for DeviceConsentPolicy
Auto Trait Implementations§
impl Freeze for DeviceConsentPolicy
impl RefUnwindSafe for DeviceConsentPolicy
impl Send for DeviceConsentPolicy
impl Sync for DeviceConsentPolicy
impl Unpin for DeviceConsentPolicy
impl UnsafeUnpin for DeviceConsentPolicy
impl UnwindSafe for DeviceConsentPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.