pub struct PurchaseHistoryDetails {
pub purchase_timestamp_millis: Option<i64>,
pub purchase_details_html: Option<String>,
pub offer: Option<Offer>,
pub purchase_status: Option<String>,
pub title_byline_html: Option<String>,
pub client_refund_context: Option<Vec<u8>>,
pub purchase_details_image: Option<Image>,
}
Fields§
§purchase_timestamp_millis: Option<i64>
§purchase_details_html: Option<String>
§offer: Option<Offer>
§purchase_status: Option<String>
§title_byline_html: Option<String>
§client_refund_context: Option<Vec<u8>>
§purchase_details_image: Option<Image>
Implementations§
source§impl PurchaseHistoryDetails
impl PurchaseHistoryDetails
sourcepub fn purchase_timestamp_millis(&self) -> i64
pub fn purchase_timestamp_millis(&self) -> i64
Returns the value of purchase_timestamp_millis
, or the default value if purchase_timestamp_millis
is unset.
sourcepub fn purchase_details_html(&self) -> &str
pub fn purchase_details_html(&self) -> &str
Returns the value of purchase_details_html
, or the default value if purchase_details_html
is unset.
sourcepub fn purchase_status(&self) -> &str
pub fn purchase_status(&self) -> &str
Returns the value of purchase_status
, or the default value if purchase_status
is unset.
sourcepub fn title_byline_html(&self) -> &str
pub fn title_byline_html(&self) -> &str
Returns the value of title_byline_html
, or the default value if title_byline_html
is unset.
sourcepub fn client_refund_context(&self) -> &[u8] ⓘ
pub fn client_refund_context(&self) -> &[u8] ⓘ
Returns the value of client_refund_context
, or the default value if client_refund_context
is unset.
Trait Implementations§
source§impl Clone for PurchaseHistoryDetails
impl Clone for PurchaseHistoryDetails
source§fn clone(&self) -> PurchaseHistoryDetails
fn clone(&self) -> PurchaseHistoryDetails
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 PurchaseHistoryDetails
impl Debug for PurchaseHistoryDetails
source§impl Default for PurchaseHistoryDetails
impl Default for PurchaseHistoryDetails
source§impl Message for PurchaseHistoryDetails
impl Message for PurchaseHistoryDetails
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 PurchaseHistoryDetails
impl PartialEq for PurchaseHistoryDetails
source§fn eq(&self, other: &PurchaseHistoryDetails) -> bool
fn eq(&self, other: &PurchaseHistoryDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PurchaseHistoryDetails
Auto Trait Implementations§
impl Freeze for PurchaseHistoryDetails
impl RefUnwindSafe for PurchaseHistoryDetails
impl Send for PurchaseHistoryDetails
impl Sync for PurchaseHistoryDetails
impl Unpin for PurchaseHistoryDetails
impl UnwindSafe for PurchaseHistoryDetails
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