Struct xpcom::interfaces::nsICookie [] [src]

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

interface nsICookie : nsISupports

Methods

impl nsICookie
[src]

[src]

Cast this nsICookie to one of its base interfaces.

impl nsICookie
[src]

STATUS_UNKNOWN: i64 = 0
/**
     * @DEPRECATED status implementation will return STATUS_UNKNOWN in all cases.
     */

STATUS_ACCEPTED: i64 = 1

STATUS_DOWNGRADED: i64 = 2

STATUS_FLAGGED: i64 = 3

STATUS_REJECTED: i64 = 4

POLICY_UNKNOWN: i64 = 0
/**
     * @DEPRECATED policy implementation will return POLICY_UNKNOWN in all cases.
     */

POLICY_NONE: i64 = 1
POLICY_NO_CONSENT: i64 = 2
POLICY_IMPLICIT_CONSENT: i64 = 3
POLICY_EXPLICIT_CONSENT: i64 = 4

POLICY_NO_II: i64 = 5

[src]

/**
     * the name of the cookie
     */

readonly attribute ACString name;

[src]

/**
     * the cookie value
     */

readonly attribute AUTF8String value;

[src]

/**
     * true if the cookie is a domain cookie, false otherwise
     */

readonly attribute boolean isDomain;

[src]

/**
     * the host (possibly fully qualified) of the cookie
     */

readonly attribute AUTF8String host;

[src]

/**
     * the path pertaining to the cookie
     */

readonly attribute AUTF8String path;

[src]

/**
     * true if the cookie was transmitted over ssl, false otherwise
     */

readonly attribute boolean isSecure;

[src]

/**
     * @DEPRECATED use nsICookie2.expiry and nsICookie2.isSession instead.
     *
     * expiration time in seconds since midnight (00:00:00), January 1, 1970 UTC.
     * expires = 0 represents a session cookie.
     * expires = 1 represents an expiration time earlier than Jan 1, 1970.
     */

readonly attribute uint64_t expires;

[src]

readonly attribute nsCookieStatus status;

[src]

readonly attribute nsCookiePolicy policy;

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 nsICookie
[src]

IID: nsIID = nsID(2918243166, 8478, 17827, [190, 20, 68, 134, 172, 67, 10, 88])

[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 nsICookie
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsICookie
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.