Struct hrobot::api::boot::RescueOperatingSystem
source · pub struct RescueOperatingSystem(pub Cow<'static, str>);Expand description
Rescue Distribution, e.g. “vkvm”.
Tuple Fields§
§0: Cow<'static, str>Trait Implementations§
source§impl Clone for RescueOperatingSystem
impl Clone for RescueOperatingSystem
source§fn clone(&self) -> RescueOperatingSystem
fn clone(&self) -> RescueOperatingSystem
Returns a copy 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 RescueOperatingSystem
impl Debug for RescueOperatingSystem
source§impl<'de> Deserialize<'de> for RescueOperatingSystem
impl<'de> Deserialize<'de> for RescueOperatingSystem
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 Display for RescueOperatingSystem
impl Display for RescueOperatingSystem
source§impl From<&'static str> for RescueOperatingSystem
impl From<&'static str> for RescueOperatingSystem
source§impl From<String> for RescueOperatingSystem
impl From<String> for RescueOperatingSystem
source§impl Hash for RescueOperatingSystem
impl Hash for RescueOperatingSystem
source§impl Ord for RescueOperatingSystem
impl Ord for RescueOperatingSystem
source§fn cmp(&self, other: &RescueOperatingSystem) -> Ordering
fn cmp(&self, other: &RescueOperatingSystem) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<str> for RescueOperatingSystem
impl PartialEq<str> for RescueOperatingSystem
source§impl PartialEq for RescueOperatingSystem
impl PartialEq for RescueOperatingSystem
source§fn eq(&self, other: &RescueOperatingSystem) -> bool
fn eq(&self, other: &RescueOperatingSystem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RescueOperatingSystem
impl PartialOrd for RescueOperatingSystem
source§fn partial_cmp(&self, other: &RescueOperatingSystem) -> Option<Ordering>
fn partial_cmp(&self, other: &RescueOperatingSystem) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for RescueOperatingSystem
impl Serialize for RescueOperatingSystem
impl Eq for RescueOperatingSystem
impl StructuralPartialEq for RescueOperatingSystem
Auto Trait Implementations§
impl Freeze for RescueOperatingSystem
impl RefUnwindSafe for RescueOperatingSystem
impl Send for RescueOperatingSystem
impl Sync for RescueOperatingSystem
impl Unpin for RescueOperatingSystem
impl UnwindSafe for RescueOperatingSystem
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.