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 duplicate 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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.