pub struct UdSubscription {
pub id: SubscriptionId,
pub kind: UdSubKind,
pub opts: SubscribeOpts,
pub topics: Vec<String>,
}Expand description
A user data subscription as the connector keeps it.
Fields§
§id: SubscriptionIdThe id given to the caller.
kind: UdSubKindThe purpose.
opts: SubscribeOptsThe options the caller gave.
topics: Vec<String>The topics of the streams at the exchange.
Trait Implementations§
Source§impl Clone for UdSubscription
impl Clone for UdSubscription
Source§fn clone(&self) -> UdSubscription
fn clone(&self) -> UdSubscription
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 UdSubscription
impl RefUnwindSafe for UdSubscription
impl Send for UdSubscription
impl Sync for UdSubscription
impl Unpin for UdSubscription
impl UnsafeUnpin for UdSubscription
impl UnwindSafe for UdSubscription
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