pub struct SoftwarePackage {
pub architecture: Option<String>,
pub epoch: Option<String>,
pub name: Option<String>,
pub release: Option<String>,
pub version: Option<String>,
}
Expand description
Information about a software package.
Fields§
§architecture: Option<String>
The architecture used for the software package.
epoch: Option<String>
The epoch of the software package.
name: Option<String>
The name of the software package.
release: Option<String>
The release of the software package.
version: Option<String>
The version of the software package.
Trait Implementations§
Source§impl Clone for SoftwarePackage
impl Clone for SoftwarePackage
Source§fn clone(&self) -> SoftwarePackage
fn clone(&self) -> SoftwarePackage
Returns a duplicate of the value. Read more
1.0.0 · 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 SoftwarePackage
impl Debug for SoftwarePackage
Source§impl Default for SoftwarePackage
impl Default for SoftwarePackage
Source§fn default() -> SoftwarePackage
fn default() -> SoftwarePackage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SoftwarePackage
impl<'de> Deserialize<'de> for SoftwarePackage
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 SoftwarePackage
impl PartialEq for SoftwarePackage
Source§impl Serialize for SoftwarePackage
impl Serialize for SoftwarePackage
impl StructuralPartialEq for SoftwarePackage
Auto Trait Implementations§
impl Freeze for SoftwarePackage
impl RefUnwindSafe for SoftwarePackage
impl Send for SoftwarePackage
impl Sync for SoftwarePackage
impl Unpin for SoftwarePackage
impl UnwindSafe for SoftwarePackage
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