pub struct Subscribe {
pub event_types: Vec<String>,
pub inbox_ids: Vec<String>,
pub pod_ids: Vec<String>,
}Available on crate feature
websockets only.Expand description
A subscribe request: which events, and for which inboxes or pods. Empty filters mean “everything the key can see”.
Fields§
§event_types: Vec<String>Event types to receive (e.g. message.received); empty means all.
inbox_ids: Vec<String>Limit events to these inboxes.
pod_ids: Vec<String>Limit events to these pods.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subscribe
impl RefUnwindSafe for Subscribe
impl Send for Subscribe
impl Sync for Subscribe
impl Unpin for Subscribe
impl UnsafeUnpin for Subscribe
impl UnwindSafe for Subscribe
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