pub enum HistoryAction {
Install,
Upgrade,
Downgrade,
Reinstall,
Uninstall,
}Expand description
Action that was performed on a package
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HistoryAction
impl Clone for HistoryAction
Source§fn clone(&self) -> HistoryAction
fn clone(&self) -> HistoryAction
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 HistoryAction
impl Debug for HistoryAction
Source§impl<'de> Deserialize<'de> for HistoryAction
impl<'de> Deserialize<'de> for HistoryAction
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
Source§impl PartialEq for HistoryAction
impl PartialEq for HistoryAction
Source§fn eq(&self, other: &HistoryAction) -> bool
fn eq(&self, other: &HistoryAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HistoryAction
impl Serialize for HistoryAction
impl Copy for HistoryAction
impl Eq for HistoryAction
impl StructuralPartialEq for HistoryAction
Auto Trait Implementations§
impl Freeze for HistoryAction
impl RefUnwindSafe for HistoryAction
impl Send for HistoryAction
impl Sync for HistoryAction
impl Unpin for HistoryAction
impl UnsafeUnpin for HistoryAction
impl UnwindSafe for HistoryAction
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