Struct xpcom::interfaces::nsIPaymentAddress
[−]
[src]
#[repr(C)]pub struct nsIPaymentAddress { /* fields omitted */ }
interface nsIPaymentAddress : nsISupports
Methods
impl nsIPaymentAddress
[src]
pub fn coerce<T: nsIPaymentAddressCoerce>(&self) -> &T
[src]
Cast this nsIPaymentAddress
to one of its base interfaces.
impl nsIPaymentAddress
[src]
pub unsafe fn GetCountry(&self, aCountry: &mut nsAString) -> nsresult
[src]
readonly attribute AString country;
pub unsafe fn GetAddressLine(
&self,
aAddressLine: *mut *const nsIArray
) -> nsresult
[src]
&self,
aAddressLine: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray addressLine;
pub unsafe fn GetRegion(&self, aRegion: &mut nsAString) -> nsresult
[src]
readonly attribute AString region;
pub unsafe fn GetCity(&self, aCity: &mut nsAString) -> nsresult
[src]
readonly attribute AString city;
pub unsafe fn GetDependentLocality(
&self,
aDependentLocality: &mut nsAString
) -> nsresult
[src]
&self,
aDependentLocality: &mut nsAString
) -> nsresult
readonly attribute AString dependentLocality;
pub unsafe fn GetPostalCode(&self, aPostalCode: &mut nsAString) -> nsresult
[src]
readonly attribute AString postalCode;
pub unsafe fn GetSortingCode(&self, aSortingCode: &mut nsAString) -> nsresult
[src]
readonly attribute AString sortingCode;
pub unsafe fn GetLanguageCode(&self, aLanguageCode: &mut nsAString) -> nsresult
[src]
readonly attribute AString languageCode;
pub unsafe fn GetOrganization(&self, aOrganization: &mut nsAString) -> nsresult
[src]
readonly attribute AString organization;
pub unsafe fn GetRecipient(&self, aRecipient: &mut nsAString) -> nsresult
[src]
readonly attribute AString recipient;
pub unsafe fn GetPhone(&self, aPhone: &mut nsAString) -> nsresult
[src]
readonly attribute AString phone;
pub unsafe fn Init(
&self,
aCountry: &nsAString,
aAddressLine: *const nsIArray,
aRegion: &nsAString,
aCity: &nsAString,
aDependentLocality: &nsAString,
aPostalCode: &nsAString,
aSortingCode: &nsAString,
aLanguageCode: &nsAString,
aOrganization: &nsAString,
aRecipient: &nsAString,
aPhone: &nsAString
) -> nsresult
[src]
&self,
aCountry: &nsAString,
aAddressLine: *const nsIArray,
aRegion: &nsAString,
aCity: &nsAString,
aDependentLocality: &nsAString,
aPostalCode: &nsAString,
aSortingCode: &nsAString,
aLanguageCode: &nsAString,
aOrganization: &nsAString,
aRecipient: &nsAString,
aPhone: &nsAString
) -> nsresult
void init (in AString aCountry, in nsIArray aAddressLine, in AString aRegion, in AString aCity, in AString aDependentLocality, in AString aPostalCode, in AString aSortingCode, in AString aLanguageCode, in AString aOrganization, in AString aRecipient, in AString aPhone);
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 nsIPaymentAddress
[src]
const IID: nsIID
IID: nsIID = nsID(1235231297, 32328, 18298, [147, 69, 159, 36, 105, 37, 220, 179])
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 nsIPaymentAddress
[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 nsIPaymentAddress
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.