Struct distro_info::DistroRelease [−][src]
pub struct DistroRelease { pub version: String, pub codename: String, pub series: String, pub created: Option<NaiveDate>, pub release: Option<NaiveDate>, pub eol: Option<NaiveDate>, pub eol_server: Option<NaiveDate>, }
Fields
version: String
codename: String
series: String
created: Option<NaiveDate>
release: Option<NaiveDate>
eol: Option<NaiveDate>
eol_server: Option<NaiveDate>
Methods
impl DistroRelease
[src]
impl DistroRelease
pub fn new(
version: String,
codename: String,
series: String,
created: Option<NaiveDate>,
release: Option<NaiveDate>,
eol: Option<NaiveDate>,
eol_server: Option<NaiveDate>
) -> DistroRelease
[src]
pub fn new(
version: String,
codename: String,
series: String,
created: Option<NaiveDate>,
release: Option<NaiveDate>,
eol: Option<NaiveDate>,
eol_server: Option<NaiveDate>
) -> DistroRelease
pub fn is_lts(&self) -> bool
[src]
pub fn is_lts(&self) -> bool
Auto Trait Implementations
impl Send for DistroRelease
impl Send for DistroRelease
impl Sync for DistroRelease
impl Sync for DistroRelease