pub struct SupportWindow {
pub major_line: String,
pub active_months: u32,
pub security_months: u32,
}Expand description
Support window for one major line.
Fields§
§major_line: StringMajor version tag, e.g. 1.x.
active_months: u32Months of active support.
security_months: u32Months of security-only support after active ends.
Implementations§
Source§impl SupportWindow
impl SupportWindow
Sourcepub fn total_months(&self) -> u32
pub fn total_months(&self) -> u32
Total supported months (active + security-only).
Trait Implementations§
Source§impl Clone for SupportWindow
impl Clone for SupportWindow
Source§fn clone(&self) -> SupportWindow
fn clone(&self) -> SupportWindow
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 SupportWindow
impl Debug for SupportWindow
Source§impl PartialEq for SupportWindow
impl PartialEq for SupportWindow
Source§fn eq(&self, other: &SupportWindow) -> bool
fn eq(&self, other: &SupportWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SupportWindow
impl StructuralPartialEq for SupportWindow
Auto Trait Implementations§
impl Freeze for SupportWindow
impl RefUnwindSafe for SupportWindow
impl Send for SupportWindow
impl Sync for SupportWindow
impl Unpin for SupportWindow
impl UnsafeUnpin for SupportWindow
impl UnwindSafe for SupportWindow
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