pub struct SubscriptionKeys {
pub p256dh: String,
pub auth: String,
}
Expand description
Encryption keys from the client.
Fields§
§p256dh: String
The public key. Base64 encoded.
auth: String
Authentication secret. Base64 encoded.
Trait Implementations§
Source§impl Clone for SubscriptionKeys
impl Clone for SubscriptionKeys
Source§fn clone(&self) -> SubscriptionKeys
fn clone(&self) -> SubscriptionKeys
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 SubscriptionKeys
impl Debug for SubscriptionKeys
Source§impl Default for SubscriptionKeys
impl Default for SubscriptionKeys
Source§fn default() -> SubscriptionKeys
fn default() -> SubscriptionKeys
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionKeys
impl<'de> Deserialize<'de> for SubscriptionKeys
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SubscriptionKeys
impl Hash for SubscriptionKeys
Source§impl Ord for SubscriptionKeys
impl Ord for SubscriptionKeys
Source§fn cmp(&self, other: &SubscriptionKeys) -> Ordering
fn cmp(&self, other: &SubscriptionKeys) -> 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 SubscriptionKeys
impl PartialEq for SubscriptionKeys
Source§impl PartialOrd for SubscriptionKeys
impl PartialOrd for SubscriptionKeys
Source§impl Serialize for SubscriptionKeys
impl Serialize for SubscriptionKeys
impl Eq for SubscriptionKeys
impl StructuralPartialEq for SubscriptionKeys
Auto Trait Implementations§
impl Freeze for SubscriptionKeys
impl RefUnwindSafe for SubscriptionKeys
impl Send for SubscriptionKeys
impl Sync for SubscriptionKeys
impl Unpin for SubscriptionKeys
impl UnwindSafe for SubscriptionKeys
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