pub enum BundledSkillsConsent {
Unasked,
Grandfathered,
Granted,
Declined,
}Expand description
Ask-first consent state for installing bundled system skills.
Variants§
Unasked
No answer recorded and no pre-consent cache: the client should ask.
Grandfathered
No answer recorded but a pre-consent cache exists: installs continue.
Granted
The user explicitly allowed the install.
Declined
The user explicitly declined; nothing is installed.
Trait Implementations§
Source§impl Clone for BundledSkillsConsent
impl Clone for BundledSkillsConsent
impl Copy for BundledSkillsConsent
Source§impl Debug for BundledSkillsConsent
impl Debug for BundledSkillsConsent
Source§impl<'de> Deserialize<'de> for BundledSkillsConsent
impl<'de> Deserialize<'de> for BundledSkillsConsent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BundledSkillsConsent
Source§impl PartialEq for BundledSkillsConsent
impl PartialEq for BundledSkillsConsent
Source§impl Serialize for BundledSkillsConsent
impl Serialize for BundledSkillsConsent
impl StructuralPartialEq for BundledSkillsConsent
Auto Trait Implementations§
impl Forget for BundledSkillsConsent
impl Freeze for BundledSkillsConsent
impl Move for BundledSkillsConsent
impl RefUnwindSafe for BundledSkillsConsent
impl Send for BundledSkillsConsent
impl Sync for BundledSkillsConsent
impl Unpin for BundledSkillsConsent
impl UnsafeUnpin for BundledSkillsConsent
impl UnwindSafe for BundledSkillsConsent
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.