pub struct WebPushSubscription {
pub endpoint: String,
pub p256dh: String,
pub auth: String,
}Fields§
§endpoint: String§p256dh: String§auth: StringTrait Implementations§
Source§impl Clone for WebPushSubscription
impl Clone for WebPushSubscription
Source§fn clone(&self) -> WebPushSubscription
fn clone(&self) -> WebPushSubscription
Returns a duplicate 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 WebPushSubscription
impl Debug for WebPushSubscription
Source§impl<'de> Deserialize<'de> for WebPushSubscription
impl<'de> Deserialize<'de> for WebPushSubscription
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 WebPushSubscription
impl Hash for WebPushSubscription
Source§impl Ord for WebPushSubscription
impl Ord for WebPushSubscription
Source§fn cmp(&self, other: &WebPushSubscription) -> Ordering
fn cmp(&self, other: &WebPushSubscription) -> 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 WebPushSubscription
impl PartialEq for WebPushSubscription
Source§impl PartialOrd for WebPushSubscription
impl PartialOrd for WebPushSubscription
Source§impl Serialize for WebPushSubscription
impl Serialize for WebPushSubscription
impl Eq for WebPushSubscription
impl StructuralPartialEq for WebPushSubscription
Auto Trait Implementations§
impl Freeze for WebPushSubscription
impl RefUnwindSafe for WebPushSubscription
impl Send for WebPushSubscription
impl Sync for WebPushSubscription
impl Unpin for WebPushSubscription
impl UnwindSafe for WebPushSubscription
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