Struct web_push::WebPushPayload [−][src]
pub struct WebPushPayload { pub content: Vec<u8>, pub crypto_headers: Vec<(&'static str, String)>, pub content_encoding: &'static str, }
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: &'static str
The encryption standard.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WebPushPayload
impl Send for WebPushPayload
impl Sync for WebPushPayload
impl Unpin for WebPushPayload
impl UnwindSafe for WebPushPayload
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more