pub struct Unsubscribe {
pub id: u64,
}
Expand description
Sent by the subscriber to terminate a Subscribe.
Fields§
§id: u64
Trait Implementations§
Source§impl Clone for Unsubscribe
impl Clone for Unsubscribe
Source§fn clone(&self) -> Unsubscribe
fn clone(&self) -> Unsubscribe
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 Unsubscribe
impl Debug for Unsubscribe
Source§impl Decode for Unsubscribe
impl Decode for Unsubscribe
Source§impl Encode for Unsubscribe
impl Encode for Unsubscribe
Source§impl From<Unsubscribe> for Message
impl From<Unsubscribe> for Message
Source§fn from(m: Unsubscribe) -> Self
fn from(m: Unsubscribe) -> Self
Converts to this type from the input type.
Source§impl From<Unsubscribe> for Subscriber
impl From<Unsubscribe> for Subscriber
Source§fn from(msg: Unsubscribe) -> Self
fn from(msg: Unsubscribe) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Unsubscribe
impl RefUnwindSafe for Unsubscribe
impl Send for Unsubscribe
impl Sync for Unsubscribe
impl Unpin for Unsubscribe
impl UnwindSafe for Unsubscribe
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