pub enum ConsentAnswer {
Granted,
Declined,
Unasked,
}Expand description
Consent answer for installing bundled skills into the user’s home.
Variants§
Granted
The user explicitly allowed the install.
Declined
The user explicitly declined. Never install, never prompt again for the same scope; our own cache directory is removed when present.
Unasked
No answer recorded in any enabled layer. Installs are forbidden unless grandfathered (a cache from a previous release exists).
Trait Implementations§
Source§impl Clone for ConsentAnswer
impl Clone for ConsentAnswer
impl Copy for ConsentAnswer
Source§impl Debug for ConsentAnswer
impl Debug for ConsentAnswer
impl Eq for ConsentAnswer
Source§impl PartialEq for ConsentAnswer
impl PartialEq for ConsentAnswer
impl StructuralPartialEq for ConsentAnswer
Auto Trait Implementations§
impl Forget for ConsentAnswer
impl Freeze for ConsentAnswer
impl Move for ConsentAnswer
impl RefUnwindSafe for ConsentAnswer
impl Send for ConsentAnswer
impl Sync for ConsentAnswer
impl Unpin for ConsentAnswer
impl UnsafeUnpin for ConsentAnswer
impl UnwindSafe for ConsentAnswer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.