pub struct DistributionInfo {
pub codename: Option<String>,
pub distribution: Option<String>,
pub variant: Option<String>,
pub version: Option<String>,
}
Expand description
DistributionInfo : DistributionInfo describes the host distribution for libpod
Fields§
§codename: Option<String>
§distribution: Option<String>
§variant: Option<String>
§version: Option<String>
Implementations§
Source§impl DistributionInfo
impl DistributionInfo
Sourcepub fn new() -> DistributionInfo
pub fn new() -> DistributionInfo
DistributionInfo describes the host distribution for libpod
Trait Implementations§
Source§impl Clone for DistributionInfo
impl Clone for DistributionInfo
Source§fn clone(&self) -> DistributionInfo
fn clone(&self) -> DistributionInfo
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 DistributionInfo
impl Debug for DistributionInfo
Source§impl Default for DistributionInfo
impl Default for DistributionInfo
Source§fn default() -> DistributionInfo
fn default() -> DistributionInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DistributionInfo
impl<'de> Deserialize<'de> for DistributionInfo
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 DistributionInfo
impl PartialEq for DistributionInfo
Source§impl Serialize for DistributionInfo
impl Serialize for DistributionInfo
impl StructuralPartialEq for DistributionInfo
Auto Trait Implementations§
impl Freeze for DistributionInfo
impl RefUnwindSafe for DistributionInfo
impl Send for DistributionInfo
impl Sync for DistributionInfo
impl Unpin for DistributionInfo
impl UnwindSafe for DistributionInfo
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