pub struct Unsubscription {
pub depth: Option<i64>,
pub interval: Option<i64>,
pub name: Option<SubscriptionName>,
pub token: Option<Token>,
}
Expand description
Message for unsubscribing from a given channel.
Fields§
§depth: Option<i64>
§interval: Option<i64>
§name: Option<SubscriptionName>
§token: Option<Token>
Trait Implementations§
Source§impl Clone for Unsubscription
impl Clone for Unsubscription
Source§fn clone(&self) -> Unsubscription
fn clone(&self) -> Unsubscription
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 Unsubscription
impl Debug for Unsubscription
Source§impl<'de> Deserialize<'de> for Unsubscription
impl<'de> Deserialize<'de> for Unsubscription
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 From<Subscription> for Unsubscription
impl From<Subscription> for Unsubscription
Using a given Subscription message, generate the corresponding Unsubscription message.
Source§fn from(value: Subscription) -> Self
fn from(value: Subscription) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Unsubscription
impl RefUnwindSafe for Unsubscription
impl Send for Unsubscription
impl Sync for Unsubscription
impl Unpin for Unsubscription
impl UnwindSafe for Unsubscription
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