Struct xpcom::interfaces::nsIPaymentActionRequest
[−]
[src]
#[repr(C)]pub struct nsIPaymentActionRequest { /* fields omitted */ }
interface nsIPaymentActionRequest : nsISupports
Methods
impl nsIPaymentActionRequest
[src]
pub fn coerce<T: nsIPaymentActionRequestCoerce>(&self) -> &T
[src]
Cast this nsIPaymentActionRequest
to one of its base interfaces.
impl nsIPaymentActionRequest
[src]
pub const UNKNOWN_ACTION: i64
UNKNOWN_ACTION: i64 = 0
pub const CREATE_ACTION: i64
CREATE_ACTION: i64 = 1
pub const CANMAKE_ACTION: i64
CANMAKE_ACTION: i64 = 2
pub const SHOW_ACTION: i64
SHOW_ACTION: i64 = 3
pub const ABORT_ACTION: i64
ABORT_ACTION: i64 = 4
pub const COMPLETE_ACTION: i64
COMPLETE_ACTION: i64 = 5
pub const UPDATE_ACTION: i64
UPDATE_ACTION: i64 = 6
pub unsafe fn GetRequestId(&self, aRequestId: &mut nsAString) -> nsresult
[src]
readonly attribute AString requestId;
pub unsafe fn GetType(&self, aType: *mut uint32_t) -> nsresult
[src]
readonly attribute uint32_t type;
pub unsafe fn GetCallback(
&self,
aCallback: *mut *const nsIPaymentActionCallback
) -> nsresult
[src]
&self,
aCallback: *mut *const nsIPaymentActionCallback
) -> nsresult
readonly attribute nsIPaymentActionCallback callback;
pub unsafe fn Init(
&self,
aRequestId: &nsAString,
aType: uint32_t,
aCallback: *const nsIPaymentActionCallback
) -> nsresult
[src]
&self,
aRequestId: &nsAString,
aType: uint32_t,
aCallback: *const nsIPaymentActionCallback
) -> nsresult
void init (in AString aRequestId, in uint32_t aType, in nsIPaymentActionCallback aCallback);
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 nsIPaymentActionRequest
[src]
const IID: nsIID
IID: nsIID = nsID(2111563966, 48812, 18770, [150, 246, 97, 153, 129, 223, 247, 166])
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 nsIPaymentActionRequest
[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 nsIPaymentActionRequest
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.