pub struct PurchaseStatusResponse {
pub status: Option<i32>,
pub status_msg: Option<String>,
pub status_title: Option<String>,
pub brief_message: Option<String>,
pub info_url: Option<String>,
pub library_update: Option<LibraryUpdate>,
pub rejected_instrument: Option<Instrument>,
pub app_delivery_data: Option<AndroidAppDeliveryData>,
}
Fields§
§status: Option<i32>
§status_msg: Option<String>
§status_title: Option<String>
§brief_message: Option<String>
§info_url: Option<String>
§library_update: Option<LibraryUpdate>
§rejected_instrument: Option<Instrument>
§app_delivery_data: Option<AndroidAppDeliveryData>
Implementations§
source§impl PurchaseStatusResponse
impl PurchaseStatusResponse
sourcepub fn status(&self) -> i32
pub fn status(&self) -> i32
Returns the value of status
, or the default value if status
is unset.
sourcepub fn status_msg(&self) -> &str
pub fn status_msg(&self) -> &str
Returns the value of status_msg
, or the default value if status_msg
is unset.
sourcepub fn status_title(&self) -> &str
pub fn status_title(&self) -> &str
Returns the value of status_title
, or the default value if status_title
is unset.
sourcepub fn brief_message(&self) -> &str
pub fn brief_message(&self) -> &str
Returns the value of brief_message
, or the default value if brief_message
is unset.
Trait Implementations§
source§impl Clone for PurchaseStatusResponse
impl Clone for PurchaseStatusResponse
source§fn clone(&self) -> PurchaseStatusResponse
fn clone(&self) -> PurchaseStatusResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PurchaseStatusResponse
impl Debug for PurchaseStatusResponse
source§impl Default for PurchaseStatusResponse
impl Default for PurchaseStatusResponse
source§impl Message for PurchaseStatusResponse
impl Message for PurchaseStatusResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
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>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for PurchaseStatusResponse
impl PartialEq for PurchaseStatusResponse
source§fn eq(&self, other: &PurchaseStatusResponse) -> bool
fn eq(&self, other: &PurchaseStatusResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PurchaseStatusResponse
Auto Trait Implementations§
impl Freeze for PurchaseStatusResponse
impl RefUnwindSafe for PurchaseStatusResponse
impl Send for PurchaseStatusResponse
impl Sync for PurchaseStatusResponse
impl Unpin for PurchaseStatusResponse
impl UnwindSafe for PurchaseStatusResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more