Struct xpcom::interfaces::nsIPaymentRequest
[−]
[src]
#[repr(C)]pub struct nsIPaymentRequest { /* fields omitted */ }
interface nsIPaymentRequest : nsISupports
Methods
impl nsIPaymentRequest
[src]
pub fn coerce<T: nsIPaymentRequestCoerce>(&self) -> &T
[src]
Cast this nsIPaymentRequest
to one of its base interfaces.
impl nsIPaymentRequest
[src]
pub unsafe fn GetTabId(&self, aTabId: *mut uint64_t) -> nsresult
[src]
readonly attribute uint64_t tabId;
pub unsafe fn GetTopLevelPrincipal(
&self,
aTopLevelPrincipal: *mut *const nsIPrincipal
) -> nsresult
[src]
&self,
aTopLevelPrincipal: *mut *const nsIPrincipal
) -> nsresult
readonly attribute nsIPrincipal topLevelPrincipal;
pub unsafe fn GetRequestId(&self, aRequestId: &mut nsAString) -> nsresult
[src]
readonly attribute AString requestId;
pub unsafe fn GetPaymentMethods(
&self,
aPaymentMethods: *mut *const nsIArray
) -> nsresult
[src]
&self,
aPaymentMethods: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray paymentMethods;
pub unsafe fn GetPaymentDetails(
&self,
aPaymentDetails: *mut *const nsIPaymentDetails
) -> nsresult
[src]
&self,
aPaymentDetails: *mut *const nsIPaymentDetails
) -> nsresult
readonly attribute nsIPaymentDetails paymentDetails;
pub unsafe fn GetPaymentOptions(
&self,
aPaymentOptions: *mut *const nsIPaymentOptions
) -> nsresult
[src]
&self,
aPaymentOptions: *mut *const nsIPaymentOptions
) -> nsresult
readonly attribute nsIPaymentOptions paymentOptions;
pub unsafe fn UpdatePaymentDetails(
&self,
aDetails: *const nsIPaymentDetails
) -> nsresult
[src]
&self,
aDetails: *const nsIPaymentDetails
) -> nsresult
void updatePaymentDetails (in nsIPaymentDetails aDetails);
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 nsIPaymentRequest
[src]
const IID: nsIID
IID: nsIID = nsID(799238019, 54916, 17543, [183, 168, 157, 239, 106, 227, 18, 143])
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 nsIPaymentRequest
[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 nsIPaymentRequest
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.