Struct xpcom::interfaces::nsIPaymentAbortActionResponse
[−]
[src]
#[repr(C)]pub struct nsIPaymentAbortActionResponse { /* fields omitted */ }
interface nsIPaymentAbortActionResponse : nsIPaymentActionResponse
/**
* The response for abort action.
*/
Methods
impl nsIPaymentAbortActionResponse
[src]
pub fn coerce<T: nsIPaymentAbortActionResponseCoerce>(&self) -> &T
[src]
Cast this nsIPaymentAbortActionResponse
to one of its base interfaces.
impl nsIPaymentAbortActionResponse
[src]
pub unsafe fn GetAbortStatus(&self, aAbortStatus: *mut uint32_t) -> nsresult
[src]
/**
* The abort action status.
* Using the defined consts(ABORT_XXX) in nsIPaymentActionResponse.
*/
readonly attribute uint32_t abortStatus;
pub unsafe fn Init(
&self,
aRequestId: &nsAString,
aAbortStatus: uint32_t
) -> nsresult
[src]
&self,
aRequestId: &nsAString,
aAbortStatus: uint32_t
) -> nsresult
/**
* The Initial method.
* @param aRequestId - the request identifier of payment request.
* @param aAbortStatus - the abort action result.
*/
void init (in AString aRequestId, in uint32_t aAbortStatus);
pub unsafe fn IsSucceeded(&self, _retval: *mut bool) -> nsresult
[src]
/**
* Check if the abort action is succeeded
*/
bool isSucceeded ();
Methods from Deref<Target = nsIPaymentActionResponse>
pub fn coerce<T: nsIPaymentActionResponseCoerce>(&self) -> &T
[src]
Cast this nsIPaymentActionResponse
to one of its base interfaces.
pub const NO_TYPE: i64
pub const CANMAKE_ACTION: i64
pub const SHOW_ACTION: i64
pub const ABORT_ACTION: i64
pub const COMPLETE_ACTION: i64
pub const ABORT_SUCCEEDED: i64
pub const ABORT_FAILED: i64
pub const PAYMENT_REJECTED: i64
pub const PAYMENT_ACCEPTED: i64
pub const PAYMENT_NOTSUPPORTED: i64
pub const COMPLETE_SUCCEEDED: i64
pub const COMPLETE_FAILED: i64
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;
Trait Implementations
impl XpCom for nsIPaymentAbortActionResponse
[src]
const IID: nsIID
IID: nsIID = nsID(2356329691, 3127, 18310, [169, 229, 81, 10, 250, 47, 142, 222])
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 nsIPaymentAbortActionResponse
[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 nsIPaymentAbortActionResponse
[src]
type Target = nsIPaymentActionResponse
The resulting type after dereferencing.
fn deref(&self) -> &nsIPaymentActionResponse
[src]
Dereferences the value.