Struct netidx_netproto::resolver::PublisherRef
source · pub struct PublisherRef {
pub id: PublisherId,
pub token: Bytes,
}
Fields§
§id: PublisherId
§token: Bytes
Trait Implementations§
source§impl Clone for PublisherRef
impl Clone for PublisherRef
source§fn clone(&self) -> PublisherRef
fn clone(&self) -> PublisherRef
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 PublisherRef
impl Debug for PublisherRef
source§impl Pack for PublisherRef
impl Pack for PublisherRef
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 PublisherRef
impl PartialEq for PublisherRef
source§fn eq(&self, other: &PublisherRef) -> bool
fn eq(&self, other: &PublisherRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PublisherRef
impl StructuralPartialEq for PublisherRef
Auto Trait Implementations§
impl !Freeze for PublisherRef
impl RefUnwindSafe for PublisherRef
impl Send for PublisherRef
impl Sync for PublisherRef
impl Unpin for PublisherRef
impl UnwindSafe for PublisherRef
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> 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.