Struct web_push::SubscriptionInfo [] [src]

pub struct SubscriptionInfo {
    pub endpoint: String,
    pub keys: SubscriptionKeys,
}

Client info for sending the notification. Maps the values from browser's subscription info JSON data.

Fields

The endpoint URI for sending the notification.

The encryption key and secret for payload encryption.

Methods

impl SubscriptionInfo
[src]

[src]

A constructor function to create a new SubscriptionInfo, if not using Serde's serialization.

Trait Implementations

impl Debug for SubscriptionInfo
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations