Struct xpcom::interfaces::nsIPaymentUpdateActionRequest
[−]
[src]
#[repr(C)]pub struct nsIPaymentUpdateActionRequest { /* fields omitted */ }
interface nsIPaymentUpdateActionRequest : nsIPaymentActionRequest
Methods
impl nsIPaymentUpdateActionRequest
[src]
pub fn coerce<T: nsIPaymentUpdateActionRequestCoerce>(&self) -> &T
[src]
Cast this nsIPaymentUpdateActionRequest
to one of its base interfaces.
impl nsIPaymentUpdateActionRequest
[src]
pub unsafe fn GetDetails(
&self,
aDetails: *mut *const nsIPaymentDetails
) -> nsresult
[src]
&self,
aDetails: *mut *const nsIPaymentDetails
) -> nsresult
readonly attribute nsIPaymentDetails details;
pub unsafe fn InitRequest(
&self,
aRequestId: &nsAString,
aCallback: *const nsIPaymentActionCallback,
aDetails: *const nsIPaymentDetails
) -> nsresult
[src]
&self,
aRequestId: &nsAString,
aCallback: *const nsIPaymentActionCallback,
aDetails: *const nsIPaymentDetails
) -> nsresult
void initRequest (in AString aRequestId, in nsIPaymentActionCallback aCallback, in nsIPaymentDetails aDetails);
Methods from Deref<Target = nsIPaymentActionRequest>
pub fn coerce<T: nsIPaymentActionRequestCoerce>(&self) -> &T
[src]
Cast this nsIPaymentActionRequest
to one of its base interfaces.
pub const UNKNOWN_ACTION: i64
pub const CREATE_ACTION: i64
pub const CANMAKE_ACTION: i64
pub const SHOW_ACTION: i64
pub const ABORT_ACTION: i64
pub const COMPLETE_ACTION: i64
pub const UPDATE_ACTION: 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;
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);
Trait Implementations
impl XpCom for nsIPaymentUpdateActionRequest
[src]
const IID: nsIID
IID: nsIID = nsID(569782760, 49223, 20440, [179, 198, 104, 226, 108, 98, 99, 154])
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 nsIPaymentUpdateActionRequest
[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 nsIPaymentUpdateActionRequest
[src]
type Target = nsIPaymentActionRequest
The resulting type after dereferencing.
fn deref(&self) -> &nsIPaymentActionRequest
[src]
Dereferences the value.