Struct xpcom::interfaces::mozIVisitInfo
[−]
[src]
#[repr(C)]pub struct mozIVisitInfo { /* fields omitted */ }
interface mozIVisitInfo : nsISupports
Methods
impl mozIVisitInfo
[src]
pub fn coerce<T: mozIVisitInfoCoerce>(&self) -> &T
[src]
Cast this mozIVisitInfo
to one of its base interfaces.
impl mozIVisitInfo
[src]
pub unsafe fn GetVisitId(&self, aVisitId: *mut int64_t) -> nsresult
[src]
/**
* The machine-local (internal) id of the visit.
*/
readonly attribute long long visitId;
pub unsafe fn GetVisitDate(&self, aVisitDate: *mut PRTime) -> nsresult
[src]
/**
* The time the visit occurred.
*/
readonly attribute PRTime visitDate;
pub unsafe fn GetTransitionType(
&self,
aTransitionType: *mut uint32_t
) -> nsresult
[src]
&self,
aTransitionType: *mut uint32_t
) -> nsresult
/**
* The transition type used to get to this visit. One of the TRANSITION_TYPE
* constants on nsINavHistory.
*
* @see nsINavHistory.idl
*/
readonly attribute unsigned long transitionType;
pub unsafe fn GetReferrerURI(
&self,
aReferrerURI: *mut *const nsIURI
) -> nsresult
[src]
&self,
aReferrerURI: *mut *const nsIURI
) -> nsresult
/**
* The referring URI of this visit. This may be null.
*/
readonly attribute nsIURI referrerURI;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for mozIVisitInfo
[src]
const IID: nsIID
IID: nsIID = nsID(1105513673, 61640, 19671, [151, 83, 122, 56, 81, 75, 132, 136])
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 mozIVisitInfo
[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 mozIVisitInfo
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.