pub enum DirectMessageCommand {
Publish(Event),
Subscribe {
subscription_id: String,
filters: Vec<Filter>,
durable: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for DirectMessageCommand
impl Clone for DirectMessageCommand
Source§fn clone(&self) -> DirectMessageCommand
fn clone(&self) -> DirectMessageCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for DirectMessageCommand
impl RefUnwindSafe for DirectMessageCommand
impl Send for DirectMessageCommand
impl Sync for DirectMessageCommand
impl Unpin for DirectMessageCommand
impl UnsafeUnpin for DirectMessageCommand
impl UnwindSafe for DirectMessageCommand
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