pub struct UdSubscription {
pub id: SubscriptionId,
pub kind: UdSubKind,
pub opts: SubscribeOpts,
pub guid: String,
}Expand description
One live user data subscription, as the connector remembers it.
Fields§
§id: SubscriptionIdThe id the bot got from subscribe_*.
kind: UdSubKindWhat the subscription delivers.
opts: SubscribeOptsThe options given at subscribe time. Order state and executions use a lossless buffer.
guid: StringThe guid of the WebSocket subscription.
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