Enum qapi_qmp::RockerPortAutoneg
source · pub enum RockerPortAutoneg {
off,
on,
}
Variants§
Trait Implementations§
source§impl Clone for RockerPortAutoneg
impl Clone for RockerPortAutoneg
source§fn clone(&self) -> RockerPortAutoneg
fn clone(&self) -> RockerPortAutoneg
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 RockerPortAutoneg
impl Debug for RockerPortAutoneg
source§impl<'de> Deserialize<'de> for RockerPortAutoneg
impl<'de> Deserialize<'de> for RockerPortAutoneg
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 Enum for RockerPortAutoneg
impl Enum for RockerPortAutoneg
source§impl FromStr for RockerPortAutoneg
impl FromStr for RockerPortAutoneg
source§impl Hash for RockerPortAutoneg
impl Hash for RockerPortAutoneg
source§impl Ord for RockerPortAutoneg
impl Ord for RockerPortAutoneg
source§fn cmp(&self, other: &RockerPortAutoneg) -> Ordering
fn cmp(&self, other: &RockerPortAutoneg) -> 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<RockerPortAutoneg> for RockerPortAutoneg
impl PartialEq<RockerPortAutoneg> for RockerPortAutoneg
source§fn eq(&self, other: &RockerPortAutoneg) -> bool
fn eq(&self, other: &RockerPortAutoneg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RockerPortAutoneg> for RockerPortAutoneg
impl PartialOrd<RockerPortAutoneg> for RockerPortAutoneg
source§fn partial_cmp(&self, other: &RockerPortAutoneg) -> Option<Ordering>
fn partial_cmp(&self, other: &RockerPortAutoneg) -> 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 RockerPortAutoneg
impl Serialize for RockerPortAutoneg
impl Copy for RockerPortAutoneg
impl Eq for RockerPortAutoneg
impl StructuralEq for RockerPortAutoneg
impl StructuralPartialEq for RockerPortAutoneg
Auto Trait Implementations§
impl RefUnwindSafe for RockerPortAutoneg
impl Send for RockerPortAutoneg
impl Sync for RockerPortAutoneg
impl Unpin for RockerPortAutoneg
impl UnwindSafe for RockerPortAutoneg
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