Struct xpcom::interfaces::nsIPushSubscription [] [src]

#[repr(C)]
pub struct nsIPushSubscription { /* fields omitted */ }

interface nsIPushSubscription : nsISupports

/**
 * A push subscription, passed as an argument to a subscription callback.
 * Similar to the `PushSubscription` WebIDL interface.
 */

Methods

impl nsIPushSubscription
[src]

[src]

Cast this nsIPushSubscription to one of its base interfaces.

impl nsIPushSubscription
[src]

[src]

readonly attribute DOMString endpoint;

[src]

readonly attribute long long pushCount;

[src]

readonly attribute long long lastPush;

[src]

readonly attribute long quota;

[src]

readonly attribute bool isSystemSubscription;

[src]

bool quotaApplies ();

[src]

bool isExpired ();

[src]

void getKey (in DOMString name, [optional] out uint32_t keyLen, [array, size_is (keyLen), retval] out uint8_t key);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIPushSubscription
[src]

IID: nsIID = nsID(501427548, 60040, 19614, [150, 38, 176, 50, 189, 135, 244, 21])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIPushSubscription
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPushSubscription
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.