Struct xpcom::interfaces::mozIAnnotatedResult [] [src]

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

interface mozIAnnotatedResult : nsISupports

Methods

impl mozIAnnotatedResult
[src]

[src]

Cast this mozIAnnotatedResult to one of its base interfaces.

impl mozIAnnotatedResult
[src]

[src]

/**
 * Represents a place annotated with a given annotation.  If a place has
 * multiple annotations, it can be represented by multiple
 * mozIAnnotatedResult(s).
 */
/**
     * The globally unique identifier of the place with this annotation.
     *
     * @note if itemId is valid this is the guid of the bookmark, otherwise
     *       of the page.
     */

readonly attribute AUTF8String guid;

[src]

/**
     * The URI of the place with this annotation, if available, null otherwise.
     */

readonly attribute nsIURI uri;

[src]

/**
     * The bookmark id of the place with this annotation, if available,
     * -1 otherwise.
     *
     * @note if itemId is -1, it doesn't mean the page is not bookmarked, just
     *       that this annotation is relative to the page, not to the bookmark.
     */

readonly attribute long long itemId;

[src]

/**
     * Name of the annotation.
     */

readonly attribute AUTF8String annotationName;

[src]

/**
     * Value of the annotation.
     */

readonly attribute nsIVariant annotationValue;

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

IID: nsIID = nsID(2180841864, 56170, 18734, [128, 182, 246, 65, 73, 19, 179, 150])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozIAnnotatedResult
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.