pub struct SubscriptionInfo {
pub endpoint: String,
pub keys: KeyInfo,
}
Expand description
Subscription Information, the endpoint to send push messages to and the key information that can be used to encrypt payloads
Fields§
§endpoint: String
§keys: KeyInfo
Trait Implementations§
source§impl Clone for SubscriptionInfo
impl Clone for SubscriptionInfo
source§fn clone(&self) -> SubscriptionInfo
fn clone(&self) -> SubscriptionInfo
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 SubscriptionInfo
impl Debug for SubscriptionInfo
source§impl Ord for SubscriptionInfo
impl Ord for SubscriptionInfo
source§fn cmp(&self, other: &SubscriptionInfo) -> Ordering
fn cmp(&self, other: &SubscriptionInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SubscriptionInfo
impl PartialEq for SubscriptionInfo
source§impl PartialOrd for SubscriptionInfo
impl PartialOrd for SubscriptionInfo
impl Eq for SubscriptionInfo
impl StructuralPartialEq for SubscriptionInfo
Auto Trait Implementations§
impl Freeze for SubscriptionInfo
impl RefUnwindSafe for SubscriptionInfo
impl Send for SubscriptionInfo
impl Sync for SubscriptionInfo
impl Unpin for SubscriptionInfo
impl UnwindSafe for SubscriptionInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more