Struct xpcom::interfaces::nsIPaymentCanMakeActionResponse [] [src]

#[repr(C)]
pub struct nsIPaymentCanMakeActionResponse { /* fields omitted */ }

interface nsIPaymentCanMakeActionResponse : nsIPaymentActionResponse

/**
 *  The response for canMakePayment action.
 */

Methods

impl nsIPaymentCanMakeActionResponse
[src]

[src]

Cast this nsIPaymentCanMakeActionResponse to one of its base interfaces.

impl nsIPaymentCanMakeActionResponse
[src]

[src]

/**
   *  The result of canMakePayment action.
   */

readonly attribute bool result;

[src]

/**
   *  The initial method.
   *  @param aRequestId - the request identifier of the payment request.
   *  @param aResult - the canMakePayment result.
   */

void init (in AString aRequestId, in bool aResult);

Methods from Deref<Target = nsIPaymentActionResponse>

[src]

Cast this nsIPaymentActionResponse to one of its base interfaces.

[src]

readonly attribute AString requestId;

[src]

readonly attribute uint32_t type;

Trait Implementations

impl XpCom for nsIPaymentCanMakeActionResponse
[src]

IID: nsIID = nsID(1392263071, 49355, 18548, [179, 212, 238, 75, 110, 156, 190, 156])

[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 nsIPaymentCanMakeActionResponse
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPaymentCanMakeActionResponse
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.