Struct xpcom::interfaces::nsILoginMetaInfo [] [src]

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

interface nsILoginMetaInfo : nsISupports

/**
 * An object containing metainfo for a login stored by the login manager.
 *
 * Code using login manager can generally ignore this interface. When adding
 * logins, default value will be created. When modifying logins, these
 * properties will be unchanged unless a change is explicitly requested [by
 * using modifyLogin() with a nsIPropertyBag]. When deleting a login or
 * comparing logins, these properties are ignored.
 */

Methods

impl nsILoginMetaInfo
[src]

[src]

Cast this nsILoginMetaInfo to one of its base interfaces.

impl nsILoginMetaInfo
[src]

[src]

/**
   * The GUID to uniquely identify the login. This can be any arbitrary
   * string, but a format as created by nsIUUIDGenerator is recommended.
   * For example, "{d4e1a1f6-5ea0-40ee-bff5-da57982f21cf}"
   *
   * addLogin will generate a random value unless a value is provided.
   *
   * addLogin and modifyLogin will throw if the GUID already exists.
   */

attribute AString guid;

[src]

/**
   * The GUID to uniquely identify the login. This can be any arbitrary
   * string, but a format as created by nsIUUIDGenerator is recommended.
   * For example, "{d4e1a1f6-5ea0-40ee-bff5-da57982f21cf}"
   *
   * addLogin will generate a random value unless a value is provided.
   *
   * addLogin and modifyLogin will throw if the GUID already exists.
   */

attribute AString guid;

[src]

/**
   * The time, in Unix Epoch milliseconds, when the login was first created.
   */

attribute unsigned long long timeCreated;

[src]

/**
   * The time, in Unix Epoch milliseconds, when the login was first created.
   */

attribute unsigned long long timeCreated;

[src]

/**
   * The time, in Unix Epoch milliseconds, when the login was last submitted
   * in a form or used to begin an HTTP auth session.
   */

attribute unsigned long long timeLastUsed;

[src]

/**
   * The time, in Unix Epoch milliseconds, when the login was last submitted
   * in a form or used to begin an HTTP auth session.
   */

attribute unsigned long long timeLastUsed;

[src]

/**
   * The time, in Unix Epoch milliseconds, when the login was last modified.
   *
   * Contrary to what the name may suggest, this attribute takes into account
   * not only the password but also the username attribute.
   */

attribute unsigned long long timePasswordChanged;

[src]

/**
   * The time, in Unix Epoch milliseconds, when the login was last modified.
   *
   * Contrary to what the name may suggest, this attribute takes into account
   * not only the password but also the username attribute.
   */

attribute unsigned long long timePasswordChanged;

[src]

/**
   * The number of times the login was submitted in a form or used to begin
   * an HTTP auth session.
   */

attribute unsigned long timesUsed;

[src]

/**
   * The number of times the login was submitted in a form or used to begin
   * an HTTP auth session.
   */

attribute unsigned long timesUsed;

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

IID: nsIID = nsID(551086912, 50324, 18815, [178, 166, 170, 163, 47, 128, 126, 189])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsILoginMetaInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.