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 duplicate 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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for PurchaseHistoryDetails
impl PartialEq for PurchaseHistoryDetails
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