Struct web_push::WebPushPayload
[−]
[src]
pub struct WebPushPayload {
pub content: Vec<u8>,
pub crypto_headers: Vec<(&'static str, String)>,
pub content_encoding: &'static str,
}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
impl Debug for WebPushPayload[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for WebPushPayload[src]
fn eq(&self, __arg_0: &WebPushPayload) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &WebPushPayload) -> bool[src]
This method tests for !=.