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