pub struct DesiredSubscription {
pub id: SubscriptionId,
pub kind: SubscriptionKind,
}Expand description
One wanted subscription: what to follow, under which id.
The id is given by the runtime and stays the same for the life of the subscription. Events for it carry this id.
Fields§
§id: SubscriptionIdThe id events of this subscription are tagged with.
kind: SubscriptionKindWhat the subscription follows.
Trait Implementations§
Source§impl Clone for DesiredSubscription
impl Clone for DesiredSubscription
Source§fn clone(&self) -> DesiredSubscription
fn clone(&self) -> DesiredSubscription
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 moreSource§impl Debug for DesiredSubscription
impl Debug for DesiredSubscription
impl Eq for DesiredSubscription
Source§impl Hash for DesiredSubscription
impl Hash for DesiredSubscription
Source§impl PartialEq for DesiredSubscription
impl PartialEq for DesiredSubscription
Source§fn eq(&self, other: &DesiredSubscription) -> bool
fn eq(&self, other: &DesiredSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DesiredSubscription
Auto Trait Implementations§
impl Freeze for DesiredSubscription
impl RefUnwindSafe for DesiredSubscription
impl Send for DesiredSubscription
impl Sync for DesiredSubscription
impl Unpin for DesiredSubscription
impl UnsafeUnpin for DesiredSubscription
impl UnwindSafe for DesiredSubscription
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