Struct googleplay_protobuf::googleplay::BuyResponse
source · [−]pub struct BuyResponse {Show 13 fields
pub purchase_response: Option<PurchaseNotificationResponse>,
pub checkoutinfo: Option<CheckoutInfo>,
pub continue_via_url: Option<String>,
pub purchase_status_url: Option<String>,
pub checkout_service_id: Option<String>,
pub checkout_token_required: Option<bool>,
pub base_checkout_url: Option<String>,
pub tos_checkbox_html: Vec<String>,
pub iab_permission_error: Option<i32>,
pub purchase_status_response: Option<PurchaseStatusResponse>,
pub purchase_cookie: Option<String>,
pub challenge: Option<Challenge>,
pub download_token: Option<String>,
}
Fields
purchase_response: Option<PurchaseNotificationResponse>
checkoutinfo: Option<CheckoutInfo>
continue_via_url: Option<String>
purchase_status_url: Option<String>
checkout_service_id: Option<String>
checkout_token_required: Option<bool>
base_checkout_url: Option<String>
tos_checkbox_html: Vec<String>
iab_permission_error: Option<i32>
purchase_status_response: Option<PurchaseStatusResponse>
challenge: Option<Challenge>
download_token: Option<String>
Implementations
sourceimpl BuyResponse
impl BuyResponse
sourcepub fn continue_via_url(&self) -> &str
pub fn continue_via_url(&self) -> &str
Returns the value of continue_via_url
, or the default value if continue_via_url
is unset.
sourcepub fn purchase_status_url(&self) -> &str
pub fn purchase_status_url(&self) -> &str
Returns the value of purchase_status_url
, or the default value if purchase_status_url
is unset.
sourcepub fn checkout_service_id(&self) -> &str
pub fn checkout_service_id(&self) -> &str
Returns the value of checkout_service_id
, or the default value if checkout_service_id
is unset.
sourcepub fn checkout_token_required(&self) -> bool
pub fn checkout_token_required(&self) -> bool
Returns the value of checkout_token_required
, or the default value if checkout_token_required
is unset.
sourcepub fn base_checkout_url(&self) -> &str
pub fn base_checkout_url(&self) -> &str
Returns the value of base_checkout_url
, or the default value if base_checkout_url
is unset.
sourcepub fn iab_permission_error(&self) -> i32
pub fn iab_permission_error(&self) -> i32
Returns the value of iab_permission_error
, or the default value if iab_permission_error
is unset.
Returns the value of purchase_cookie
, or the default value if purchase_cookie
is unset.
sourcepub fn download_token(&self) -> &str
pub fn download_token(&self) -> &str
Returns the value of download_token
, or the default value if download_token
is unset.
Trait Implementations
sourceimpl Clone for BuyResponse
impl Clone for BuyResponse
sourcefn clone(&self) -> BuyResponse
fn clone(&self) -> BuyResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuyResponse
impl Debug for BuyResponse
sourceimpl Default for BuyResponse
impl Default for BuyResponse
sourceimpl Message for BuyResponse
impl Message for BuyResponse
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>
fn encode_to_vec(&self) -> Vec<u8, Global>
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self
. Read more
sourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
sourceimpl PartialEq<BuyResponse> for BuyResponse
impl PartialEq<BuyResponse> for BuyResponse
sourcefn eq(&self, other: &BuyResponse) -> bool
fn eq(&self, other: &BuyResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuyResponse) -> bool
fn ne(&self, other: &BuyResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for BuyResponse
Auto Trait Implementations
impl RefUnwindSafe for BuyResponse
impl Send for BuyResponse
impl Sync for BuyResponse
impl Unpin for BuyResponse
impl UnwindSafe for BuyResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more