Struct ipp::model::IppVersion
source · pub struct IppVersion(pub u16);
Expand description
IPP protocol version
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
source§impl Clone for IppVersion
impl Clone for IppVersion
source§fn clone(&self) -> IppVersion
fn clone(&self) -> IppVersion
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 IppVersion
impl Debug for IppVersion
source§impl PartialEq for IppVersion
impl PartialEq for IppVersion
source§fn eq(&self, other: &IppVersion) -> bool
fn eq(&self, other: &IppVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IppVersion
impl Eq for IppVersion
impl StructuralEq for IppVersion
impl StructuralPartialEq for IppVersion
Auto Trait Implementations§
impl RefUnwindSafe for IppVersion
impl Send for IppVersion
impl Sync for IppVersion
impl Unpin for IppVersion
impl UnwindSafe for IppVersion
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.