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§fn clone(&self) -> DeviceConsentPolicy
fn clone(&self) -> DeviceConsentPolicy
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 moreSource§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