Struct hrobot::api::boot::PleskDistribution
source · pub struct PleskDistribution(pub Cow<'static, str>);
Expand description
Plesk Distribution, e.g. “CentOS-Stream”.
Tuple Fields§
§0: Cow<'static, str>
Trait Implementations§
source§impl Clone for PleskDistribution
impl Clone for PleskDistribution
source§fn clone(&self) -> PleskDistribution
fn clone(&self) -> PleskDistribution
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 PleskDistribution
impl Debug for PleskDistribution
source§impl<'de> Deserialize<'de> for PleskDistribution
impl<'de> Deserialize<'de> for PleskDistribution
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 PleskDistribution
impl Display for PleskDistribution
source§impl From<&'static str> for PleskDistribution
impl From<&'static str> for PleskDistribution
source§impl From<String> for PleskDistribution
impl From<String> for PleskDistribution
source§impl Hash for PleskDistribution
impl Hash for PleskDistribution
source§impl Ord for PleskDistribution
impl Ord for PleskDistribution
source§fn cmp(&self, other: &PleskDistribution) -> Ordering
fn cmp(&self, other: &PleskDistribution) -> 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<PleskDistribution> for PleskDistribution
impl PartialEq<PleskDistribution> for PleskDistribution
source§fn eq(&self, other: &PleskDistribution) -> bool
fn eq(&self, other: &PleskDistribution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<str> for PleskDistribution
impl PartialEq<str> for PleskDistribution
source§impl PartialOrd<PleskDistribution> for PleskDistribution
impl PartialOrd<PleskDistribution> for PleskDistribution
source§fn partial_cmp(&self, other: &PleskDistribution) -> Option<Ordering>
fn partial_cmp(&self, other: &PleskDistribution) -> 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 PleskDistribution
impl Serialize for PleskDistribution
impl Eq for PleskDistribution
impl StructuralEq for PleskDistribution
impl StructuralPartialEq for PleskDistribution
Auto Trait Implementations§
impl RefUnwindSafe for PleskDistribution
impl Send for PleskDistribution
impl Sync for PleskDistribution
impl Unpin for PleskDistribution
impl UnwindSafe for PleskDistribution
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.