pub enum Choice {
Accepted,
Declined,
Mode(ConsentMode),
FDroidBypassAcknowledged,
}Expand description
A recorded user choice.
Variants§
Accepted
Install this update, with the capabilities it listed.
Declined
Don’t install this update.
Mode(ConsentMode)
Switched the app’s mode.
FDroidBypassAcknowledged
Agreed to the F-Droid wording (“you’re choosing to bypass F-Droid’s checks”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Choice
impl<'de> Deserialize<'de> for Choice
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 Choice
impl StructuralPartialEq for Choice
Auto Trait Implementations§
impl Forget for Choice
impl Freeze for Choice
impl Move for Choice
impl RefUnwindSafe for Choice
impl Send for Choice
impl Sync for Choice
impl Unpin for Choice
impl UnsafeUnpin for Choice
impl UnwindSafe for Choice
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