Struct googleplay_protobuf::googleplay::OwnershipInfo
source · pub struct OwnershipInfo {Show 13 fields
pub initiation_timestamp: Option<i64>,
pub valid_until_timestamp: Option<i64>,
pub auto_renewing: Option<bool>,
pub refund_timeout_timestamp: Option<i64>,
pub post_delivery_refund_window_millis: Option<i64>,
pub developer_purchase_info: Option<SignedData>,
pub pre_ordered: Option<bool>,
pub hidden: Option<bool>,
pub rental_terms: Option<RentalTerms>,
pub group_license_info: Option<GroupLicenseInfo>,
pub licensed_document_info: Option<LicensedDocumentInfo>,
pub quantity: Option<i32>,
pub library_expiration_timestamp: Option<i64>,
}
Fields§
§initiation_timestamp: Option<i64>
§valid_until_timestamp: Option<i64>
§auto_renewing: Option<bool>
§refund_timeout_timestamp: Option<i64>
§post_delivery_refund_window_millis: Option<i64>
§developer_purchase_info: Option<SignedData>
§pre_ordered: Option<bool>
§rental_terms: Option<RentalTerms>
§group_license_info: Option<GroupLicenseInfo>
§licensed_document_info: Option<LicensedDocumentInfo>
§quantity: Option<i32>
§library_expiration_timestamp: Option<i64>
Implementations§
source§impl OwnershipInfo
impl OwnershipInfo
sourcepub fn initiation_timestamp(&self) -> i64
pub fn initiation_timestamp(&self) -> i64
Returns the value of initiation_timestamp
, or the default value if initiation_timestamp
is unset.
sourcepub fn valid_until_timestamp(&self) -> i64
pub fn valid_until_timestamp(&self) -> i64
Returns the value of valid_until_timestamp
, or the default value if valid_until_timestamp
is unset.
sourcepub fn auto_renewing(&self) -> bool
pub fn auto_renewing(&self) -> bool
Returns the value of auto_renewing
, or the default value if auto_renewing
is unset.
sourcepub fn refund_timeout_timestamp(&self) -> i64
pub fn refund_timeout_timestamp(&self) -> i64
Returns the value of refund_timeout_timestamp
, or the default value if refund_timeout_timestamp
is unset.
sourcepub fn post_delivery_refund_window_millis(&self) -> i64
pub fn post_delivery_refund_window_millis(&self) -> i64
Returns the value of post_delivery_refund_window_millis
, or the default value if post_delivery_refund_window_millis
is unset.
sourcepub fn pre_ordered(&self) -> bool
pub fn pre_ordered(&self) -> bool
Returns the value of pre_ordered
, or the default value if pre_ordered
is unset.
Returns the value of hidden
, or the default value if hidden
is unset.
sourcepub fn quantity(&self) -> i32
pub fn quantity(&self) -> i32
Returns the value of quantity
, or the default value if quantity
is unset.
sourcepub fn library_expiration_timestamp(&self) -> i64
pub fn library_expiration_timestamp(&self) -> i64
Returns the value of library_expiration_timestamp
, or the default value if library_expiration_timestamp
is unset.
Trait Implementations§
source§impl Clone for OwnershipInfo
impl Clone for OwnershipInfo
source§fn clone(&self) -> OwnershipInfo
fn clone(&self) -> OwnershipInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OwnershipInfo
impl Debug for OwnershipInfo
source§impl Default for OwnershipInfo
impl Default for OwnershipInfo
source§impl Message for OwnershipInfo
impl Message for OwnershipInfo
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 OwnershipInfo
impl PartialEq for OwnershipInfo
source§fn eq(&self, other: &OwnershipInfo) -> bool
fn eq(&self, other: &OwnershipInfo) -> bool
self
and other
values to be equal, and is used
by ==
.