pub struct Family {
pub name: &'static str,
pub versions: &'static [(&'static str, &'static str)],
pub default: &'static str,
}Expand description
An OS family: the versions Isoloom has images for, each with its image-table name, and the version an omitted one resolves to.
Fields§
§name: &'static strThe family’s name, the part before @ (debian, windows-server).
versions: &'static [(&'static str, &'static str)]Its versions, oldest first, each with the image-table name it maps to.
default: &'static strThe version os: <family> resolves to: pinned, so an environment never changes under
its author when a newer version is added.
Trait Implementations§
impl Copy for Family
impl Eq for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnsafeUnpin for Family
impl UnwindSafe for Family
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.