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
Auto 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