pub struct SubscriptionTriggerCommand { /* private fields */ }Expand description
Semantic command for subscription trigger mutation.
Implementations§
Source§impl SubscriptionTriggerCommand
impl SubscriptionTriggerCommand
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-trigger command.
Sourcepub fn subscription_id(&self) -> SubscriptionId
pub fn subscription_id(&self) -> SubscriptionId
Returns the subscription identifier.
Trait Implementations§
Source§impl Clone for SubscriptionTriggerCommand
impl Clone for SubscriptionTriggerCommand
Source§fn clone(&self) -> SubscriptionTriggerCommand
fn clone(&self) -> SubscriptionTriggerCommand
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 SubscriptionTriggerCommand
impl Debug for SubscriptionTriggerCommand
impl Copy for SubscriptionTriggerCommand
impl Eq for SubscriptionTriggerCommand
impl StructuralPartialEq for SubscriptionTriggerCommand
Auto Trait Implementations§
impl Freeze for SubscriptionTriggerCommand
impl RefUnwindSafe for SubscriptionTriggerCommand
impl Send for SubscriptionTriggerCommand
impl Sync for SubscriptionTriggerCommand
impl Unpin for SubscriptionTriggerCommand
impl UnsafeUnpin for SubscriptionTriggerCommand
impl UnwindSafe for SubscriptionTriggerCommand
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