pub struct WebPushSubscription {
pub endpoint: String,
pub p256dh: String,
pub auth: String,
}Expand description
Web Push subscription
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
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