pub struct RpmMetaRow {
pub name: String,
pub version: String,
pub release: String,
pub arch: String,
pub epoch: Option<String>,
pub summary: Option<String>,
pub license: Option<String>,
pub url: Option<String>,
pub vendor: Option<String>,
pub sourcerpm: Option<String>,
pub provides: Vec<String>,
pub requires: Vec<String>,
}Expand description
One rpm’s authoritative header metadata — NEVRA plus the rpm-md primary.xml
fields — the shape holger’s primary.xml synthesis feeds off.
Fields§
§name: String§version: String§release: String§arch: String§epoch: Option<String>§summary: Option<String>§license: Option<String>§url: Option<String>§vendor: Option<String>§sourcerpm: Option<String>§provides: Vec<String>§requires: Vec<String>Trait Implementations§
Source§impl Clone for RpmMetaRow
impl Clone for RpmMetaRow
Source§fn clone(&self) -> RpmMetaRow
fn clone(&self) -> RpmMetaRow
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 RpmMetaRow
impl Debug for RpmMetaRow
impl Eq for RpmMetaRow
Source§impl PartialEq for RpmMetaRow
impl PartialEq for RpmMetaRow
impl StructuralPartialEq for RpmMetaRow
Auto Trait Implementations§
impl Freeze for RpmMetaRow
impl RefUnwindSafe for RpmMetaRow
impl Send for RpmMetaRow
impl Sync for RpmMetaRow
impl Unpin for RpmMetaRow
impl UnsafeUnpin for RpmMetaRow
impl UnwindSafe for RpmMetaRow
Blanket Implementations§
impl<T> Allocation 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.