pub struct OutputSubscriptionRecord { /* private fields */ }Expand description
Registered subscription metadata.
Implementations§
Source§impl OutputSubscriptionRecord
impl OutputSubscriptionRecord
Sourcepub const fn id(&self) -> PaneOutputSubscriptionId
pub const fn id(&self) -> PaneOutputSubscriptionId
Returns the subscription id.
Sourcepub const fn connection_id(&self) -> u64
pub const fn connection_id(&self) -> u64
Returns the owning connection id.
Sourcepub fn pane(&self) -> &PaneOutputSubscriptionKey
pub fn pane(&self) -> &PaneOutputSubscriptionKey
Returns the subscribed pane key.
Sourcepub fn created_at(&self) -> Instant
pub fn created_at(&self) -> Instant
Returns when the subscription was created.
Trait Implementations§
Source§impl Clone for OutputSubscriptionRecord
impl Clone for OutputSubscriptionRecord
Source§fn clone(&self) -> OutputSubscriptionRecord
fn clone(&self) -> OutputSubscriptionRecord
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 OutputSubscriptionRecord
impl Debug for OutputSubscriptionRecord
impl Eq for OutputSubscriptionRecord
Source§impl PartialEq for OutputSubscriptionRecord
impl PartialEq for OutputSubscriptionRecord
Source§fn eq(&self, other: &OutputSubscriptionRecord) -> bool
fn eq(&self, other: &OutputSubscriptionRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputSubscriptionRecord
Auto Trait Implementations§
impl Freeze for OutputSubscriptionRecord
impl RefUnwindSafe for OutputSubscriptionRecord
impl Send for OutputSubscriptionRecord
impl Sync for OutputSubscriptionRecord
impl Unpin for OutputSubscriptionRecord
impl UnsafeUnpin for OutputSubscriptionRecord
impl UnwindSafe for OutputSubscriptionRecord
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