pub struct WebPushPayload {
pub content: Vec<u8>,
pub crypto_headers: Vec<(&'static str, String)>,
pub content_encoding: ContentEncoding,
}
Expand description
The push content payload, already in an encrypted form.
Fields§
§content: Vec<u8>
Encrypted content data.
crypto_headers: Vec<(&'static str, String)>
Headers depending on the authorization scheme and encryption standard.
content_encoding: ContentEncoding
The encryption standard.
Trait Implementations§
Source§impl Debug for WebPushPayload
impl Debug for WebPushPayload
Source§impl PartialEq for WebPushPayload
impl PartialEq for WebPushPayload
impl StructuralPartialEq for WebPushPayload
Auto Trait Implementations§
impl Freeze for WebPushPayload
impl RefUnwindSafe for WebPushPayload
impl Send for WebPushPayload
impl Sync for WebPushPayload
impl Unpin for WebPushPayload
impl UnwindSafe for WebPushPayload
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