enum ActionItem {
Add(EntryName),
Remove(EntryName),
}Expand description
An action item in a transaction plan for an alpm-db.
This may be an addition or a removal.
§Note
An ActionItem only tracks what database item changed in an action, not the actual data.
Refer to Action for transaction items, that are used for changing an alpm-db.
Variants§
Trait Implementations§
Source§impl Clone for ActionItem
impl Clone for ActionItem
Source§impl Debug for ActionItem
impl Debug for ActionItem
Source§impl<'de> Deserialize<'de> for ActionItem
impl<'de> Deserialize<'de> for ActionItem
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 ActionItem
Source§impl From<&Action> for ActionItem
impl From<&Action> for ActionItem
Source§impl Ord for ActionItem
impl Ord for ActionItem
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ActionItem
impl PartialEq for ActionItem
Source§impl PartialOrd for ActionItem
impl PartialOrd for ActionItem
Source§impl Serialize for ActionItem
impl Serialize for ActionItem
impl StructuralPartialEq for ActionItem
Auto Trait Implementations§
impl Freeze for ActionItem
impl RefUnwindSafe for ActionItem
impl Send for ActionItem
impl Sync for ActionItem
impl Unpin for ActionItem
impl UnsafeUnpin for ActionItem
impl UnwindSafe for ActionItem
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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