Struct googleplay_protobuf::googleplay::BuyResponse
source · pub struct BuyResponse {Show 19 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 add_instrument_prompt_html: Option<String>,
pub confirm_button_text: Option<String>,
pub permission_error_title_text: Option<String>,
pub permission_error_message_text: Option<String>,
pub server_logs_cookie: Option<Vec<u8>>,
pub encoded_delivery_token: Option<String>,
pub unknown_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>
§add_instrument_prompt_html: Option<String>
§permission_error_title_text: Option<String>
§permission_error_message_text: Option<String>
§encoded_delivery_token: Option<String>
§unknown_token: Option<String>
Implementations§
source§impl 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 add_instrument_prompt_html(&self) -> &str
pub fn add_instrument_prompt_html(&self) -> &str
Returns the value of add_instrument_prompt_html
, or the default value if add_instrument_prompt_html
is unset.
Returns the value of confirm_button_text
, or the default value if confirm_button_text
is unset.
sourcepub fn permission_error_title_text(&self) -> &str
pub fn permission_error_title_text(&self) -> &str
Returns the value of permission_error_title_text
, or the default value if permission_error_title_text
is unset.
sourcepub fn permission_error_message_text(&self) -> &str
pub fn permission_error_message_text(&self) -> &str
Returns the value of permission_error_message_text
, or the default value if permission_error_message_text
is unset.
Returns the value of server_logs_cookie
, or the default value if server_logs_cookie
is unset.
sourcepub fn encoded_delivery_token(&self) -> &str
pub fn encoded_delivery_token(&self) -> &str
Returns the value of encoded_delivery_token
, or the default value if encoded_delivery_token
is unset.
sourcepub fn unknown_token(&self) -> &str
pub fn unknown_token(&self) -> &str
Returns the value of unknown_token
, or the default value if unknown_token
is unset.
Trait Implementations§
source§impl Clone for BuyResponse
impl Clone for BuyResponse
source§fn clone(&self) -> BuyResponse
fn clone(&self) -> BuyResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuyResponse
impl Debug for BuyResponse
source§impl Default for BuyResponse
impl Default for BuyResponse
source§impl Message for BuyResponse
impl Message for BuyResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.source§impl PartialEq for BuyResponse
impl PartialEq for BuyResponse
source§fn eq(&self, other: &BuyResponse) -> bool
fn eq(&self, other: &BuyResponse) -> bool
self
and other
values to be equal, and is used
by ==
.