pub struct Autoremove {
pub autoremove: String,
pub extra: HashMap<String, String>,
}
Expand description
A stanza telling APT that a specific package can be autoremoved as a consequence of the executed user request.
Fields§
§autoremove: String
The identifier of the package that can be autoremoved.
Must reference the identifier of a package in the package universe
(see Package::id
).
extra: HashMap<String, String>
Extra optional fields supported by Package
stanzas.
Trait Implementations§
Source§impl Debug for Autoremove
impl Debug for Autoremove
Source§impl Default for Autoremove
impl Default for Autoremove
Source§fn default() -> Autoremove
fn default() -> Autoremove
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Autoremove
impl<'de> Deserialize<'de> for Autoremove
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 From<Autoremove> for Action
impl From<Autoremove> for Action
Source§fn from(value: Autoremove) -> Self
fn from(value: Autoremove) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Autoremove
impl PartialEq for Autoremove
Source§impl Serialize for Autoremove
impl Serialize for Autoremove
impl Eq for Autoremove
impl StructuralPartialEq for Autoremove
Auto Trait Implementations§
impl Freeze for Autoremove
impl RefUnwindSafe for Autoremove
impl Send for Autoremove
impl Sync for Autoremove
impl Unpin for Autoremove
impl UnwindSafe for Autoremove
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