Struct xpcom::interfaces::mozILivemark
[−]
[src]
#[repr(C)]pub struct mozILivemark { /* fields omitted */ }
interface mozILivemark : mozILivemarkInfo
Methods
impl mozILivemark
[src]
pub fn coerce<T: mozILivemarkCoerce>(&self) -> &T
[src]
Cast this mozILivemark
to one of its base interfaces.
impl mozILivemark
[src]
pub const STATUS_READY: i64
STATUS_READY: i64 = 0
pub const STATUS_LOADING: i64
STATUS_LOADING: i64 = 1
pub const STATUS_FAILED: i64
STATUS_FAILED: i64 = 2
pub unsafe fn GetStatus(&self, aStatus: *mut uint16_t) -> nsresult
[src]
/**
* Status of this livemark. One of the STATUS_* constants above.
*/
readonly attribute unsigned short status;
pub unsafe fn Reload(&self, aForceUpdate: bool) -> nsresult
[src]
/**
* Reload livemark contents if they are expired or if forced to do so.
*
* @param [optional]aForceUpdate
* If set to true forces a reload even if contents are still valid.
*
* @note The update process is asynchronous, it's possible to register a
* result observer to be notified of updated contents through
* registerForUpdates.
*/
void reload ([optional] in boolean aForceUpdate);
Methods from Deref<Target = mozILivemarkInfo>
pub fn coerce<T: mozILivemarkInfoCoerce>(&self) -> &T
[src]
Cast this mozILivemarkInfo
to one of its base interfaces.
pub unsafe fn GetId(&self, aId: *mut int64_t) -> nsresult
[src]
/**
* Id of the bookmarks folder representing this livemark.
*
* @deprecated Use guid instead.
*/
readonly attribute long long id;
pub unsafe fn GetGuid(&self, aGuid: &mut nsACString) -> nsresult
[src]
/**
* The globally unique identifier of this livemark.
*/
readonly attribute ACString guid;
pub unsafe fn GetTitle(&self, aTitle: &mut nsAString) -> nsresult
[src]
/**
* Title of this livemark.
*/
readonly attribute AString title;
pub unsafe fn GetParentId(&self, aParentId: *mut int64_t) -> nsresult
[src]
/**
* Id of the bookmarks parent folder containing this livemark.
*
* @deprecated Use parentGuid instead.
*/
readonly attribute long long parentId;
pub unsafe fn GetParentGuid(&self, aParentGuid: *mut int64_t) -> nsresult
[src]
/**
* Guid of the bookmarks parent folder containing this livemark.
*/
readonly attribute long long parentGuid;
pub unsafe fn GetIndex(&self, aIndex: *mut int32_t) -> nsresult
[src]
/**
* The position of this livemark in the bookmarks parent folder.
*/
readonly attribute long index;
pub unsafe fn GetDateAdded(&self, aDateAdded: *mut PRTime) -> nsresult
[src]
/**
* Time this livemark was created.
*/
readonly attribute PRTime dateAdded;
pub unsafe fn GetLastModified(&self, aLastModified: *mut PRTime) -> nsresult
[src]
/**
* Time this livemark's details were last modified. Doesn't track changes to
* the livemark contents.
*/
readonly attribute PRTime lastModified;
pub unsafe fn GetFeedURI(&self, aFeedURI: *mut *const nsIURI) -> nsresult
[src]
/**
* The URI of the syndication feed associated with this livemark.
*/
readonly attribute nsIURI feedURI;
pub unsafe fn GetSiteURI(&self, aSiteURI: *mut *const nsIURI) -> nsresult
[src]
/**
* The URI of the website associated with this livemark.
*/
readonly attribute nsIURI siteURI;
Trait Implementations
impl XpCom for mozILivemark
[src]
const IID: nsIID
IID: nsIID = nsID(2674909102, 56218, 19416, [189, 225, 20, 135, 88, 207, 27, 24])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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 mozILivemark
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for mozILivemark
[src]
type Target = mozILivemarkInfo
The resulting type after dereferencing.
fn deref(&self) -> &mozILivemarkInfo
[src]
Dereferences the value.