Struct netidx_netproto::resolver::PublisherId
source · pub struct PublisherId(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for PublisherId
impl Clone for PublisherId
source§fn clone(&self) -> PublisherId
fn clone(&self) -> PublisherId
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 PublisherId
impl Debug for PublisherId
source§impl<'de> Deserialize<'de> for PublisherId
impl<'de> Deserialize<'de> for PublisherId
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 Hash for PublisherId
impl Hash for PublisherId
source§impl Ord for PublisherId
impl Ord for PublisherId
source§fn cmp(&self, other: &PublisherId) -> Ordering
fn cmp(&self, other: &PublisherId) -> 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 Pack for PublisherId
impl Pack for PublisherId
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
source§impl PartialEq for PublisherId
impl PartialEq for PublisherId
source§fn eq(&self, other: &PublisherId) -> bool
fn eq(&self, other: &PublisherId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PublisherId
impl PartialOrd for PublisherId
source§fn partial_cmp(&self, other: &PublisherId) -> Option<Ordering>
fn partial_cmp(&self, other: &PublisherId) -> 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 PublisherId
impl Serialize for PublisherId
impl Copy for PublisherId
impl Eq for PublisherId
impl StructuralPartialEq for PublisherId
Auto Trait Implementations§
impl Freeze for PublisherId
impl RefUnwindSafe for PublisherId
impl Send for PublisherId
impl Sync for PublisherId
impl Unpin for PublisherId
impl UnwindSafe for PublisherId
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.