pub struct SubscriptionCancelCommand { /* private fields */ }Expand description
Semantic command for subscription cancellation mutation.
Implementations§
Source§impl SubscriptionCancelCommand
impl SubscriptionCancelCommand
Sourcepub fn new(
sequence: u64,
subscription_id: SubscriptionId,
timestamp: u64,
) -> Self
pub fn new( sequence: u64, subscription_id: SubscriptionId, timestamp: u64, ) -> Self
Creates a new subscription-cancel command.
Sourcepub fn subscription_id(&self) -> SubscriptionId
pub fn subscription_id(&self) -> SubscriptionId
Returns the subscription identifier.
Trait Implementations§
Source§impl Clone for SubscriptionCancelCommand
impl Clone for SubscriptionCancelCommand
Source§fn clone(&self) -> SubscriptionCancelCommand
fn clone(&self) -> SubscriptionCancelCommand
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 SubscriptionCancelCommand
impl Debug for SubscriptionCancelCommand
impl Copy for SubscriptionCancelCommand
impl Eq for SubscriptionCancelCommand
impl StructuralPartialEq for SubscriptionCancelCommand
Auto Trait Implementations§
impl Freeze for SubscriptionCancelCommand
impl RefUnwindSafe for SubscriptionCancelCommand
impl Send for SubscriptionCancelCommand
impl Sync for SubscriptionCancelCommand
impl Unpin for SubscriptionCancelCommand
impl UnsafeUnpin for SubscriptionCancelCommand
impl UnwindSafe for SubscriptionCancelCommand
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