pub struct InstalledPackage {
pub name: String,
pub evr: String,
pub arch: String,
pub full: String,
}Expand description
An installed package parsed from root.log.
Fields§
§name: String§evr: Stringepoch:version-release (epoch omitted when 0).
arch: String§full: StringFull NEVRA string as it appeared in the log.
Trait Implementations§
Source§impl Clone for InstalledPackage
impl Clone for InstalledPackage
Source§fn clone(&self) -> InstalledPackage
fn clone(&self) -> InstalledPackage
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 InstalledPackage
impl Debug for InstalledPackage
Source§impl PartialEq for InstalledPackage
impl PartialEq for InstalledPackage
Source§fn eq(&self, other: &InstalledPackage) -> bool
fn eq(&self, other: &InstalledPackage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstalledPackage
impl Serialize for InstalledPackage
impl Eq for InstalledPackage
impl StructuralPartialEq for InstalledPackage
Auto Trait Implementations§
impl Freeze for InstalledPackage
impl RefUnwindSafe for InstalledPackage
impl Send for InstalledPackage
impl Sync for InstalledPackage
impl Unpin for InstalledPackage
impl UnsafeUnpin for InstalledPackage
impl UnwindSafe for InstalledPackage
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