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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.