pub struct DocumentedRelease {
pub name: &'static str,
pub minimum_version: Option<&'static str>,
}Expand description
One documented operating system release, with the oldest version GitHub documents for it.
Fields§
§name: &'static strThe release or distribution name, as GitHub’s documentation writes it.
minimum_version: Option<&'static str>The oldest documented version, or None when GitHub names the release
without a version floor.
Trait Implementations§
Source§impl Clone for DocumentedRelease
impl Clone for DocumentedRelease
Source§fn clone(&self) -> DocumentedRelease
fn clone(&self) -> DocumentedRelease
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 moreimpl Copy for DocumentedRelease
Source§impl Debug for DocumentedRelease
impl Debug for DocumentedRelease
Source§impl Display for DocumentedRelease
impl Display for DocumentedRelease
impl Eq for DocumentedRelease
Source§impl PartialEq for DocumentedRelease
impl PartialEq for DocumentedRelease
impl StructuralPartialEq for DocumentedRelease
Auto Trait Implementations§
impl Freeze for DocumentedRelease
impl RefUnwindSafe for DocumentedRelease
impl Send for DocumentedRelease
impl Sync for DocumentedRelease
impl Unpin for DocumentedRelease
impl UnsafeUnpin for DocumentedRelease
impl UnwindSafe for DocumentedRelease
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