pub struct SubscriberKey {
pub adapter_id: AdapterId,
pub sub_id: SubId,
}Expand description
Composite key for a subscription owned by one adapter.
Uniqueness is (adapter_id, sub_id). The same sub_id on two adapters
is fine; the same pair twice is EngineError::DuplicateSub.
Fields§
§adapter_id: AdapterId§sub_id: SubIdTrait Implementations§
Source§impl Clone for SubscriberKey
impl Clone for SubscriberKey
Source§fn clone(&self) -> SubscriberKey
fn clone(&self) -> SubscriberKey
Returns a copy of the value. Read more
1.0.0 · 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 SubscriberKey
impl Debug for SubscriberKey
Source§impl Hash for SubscriberKey
impl Hash for SubscriberKey
Source§impl PartialEq for SubscriberKey
impl PartialEq for SubscriberKey
impl Eq for SubscriberKey
impl StructuralPartialEq for SubscriberKey
Auto Trait Implementations§
impl Freeze for SubscriberKey
impl RefUnwindSafe for SubscriberKey
impl Send for SubscriberKey
impl Sync for SubscriberKey
impl Unpin for SubscriberKey
impl UnwindSafe for SubscriberKey
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