pub struct AndroidAppDeliveryData {Show 16 fields
pub download_size: Option<i64>,
pub sha1: Option<String>,
pub download_url: Option<String>,
pub additional_file: Vec<AppFileMetadata>,
pub download_auth_cookie: Vec<HttpCookie>,
pub forward_locked: Option<bool>,
pub refund_timeout: Option<i64>,
pub server_initiated: Option<bool>,
pub post_install_refund_window_millis: Option<i64>,
pub immediate_start_needed: Option<bool>,
pub patch_data: Option<AndroidAppPatchData>,
pub encryption_params: Option<EncryptionParams>,
pub download_url_gzipped: Option<String>,
pub download_size_gzipped: Option<i64>,
pub split: Vec<Split>,
pub sha256: Option<String>,
}
Expand description
Both sha1 and sha256 are encoded with base64 with URL and Filename Safe Alphabet with padding removed
Fields
download_size: Option<i64>
sha1: Option<String>
download_url: Option<String>
additional_file: Vec<AppFileMetadata>
forward_locked: Option<bool>
refund_timeout: Option<i64>
server_initiated: Option<bool>
post_install_refund_window_millis: Option<i64>
immediate_start_needed: Option<bool>
patch_data: Option<AndroidAppPatchData>
encryption_params: Option<EncryptionParams>
download_url_gzipped: Option<String>
download_size_gzipped: Option<i64>
split: Vec<Split>
sha256: Option<String>
Implementations
sourceimpl AndroidAppDeliveryData
impl AndroidAppDeliveryData
sourcepub fn download_size(&self) -> i64
pub fn download_size(&self) -> i64
Returns the value of download_size
, or the default value if download_size
is unset.
sourcepub fn download_url(&self) -> &str
pub fn download_url(&self) -> &str
Returns the value of download_url
, or the default value if download_url
is unset.
sourcepub fn forward_locked(&self) -> bool
pub fn forward_locked(&self) -> bool
Returns the value of forward_locked
, or the default value if forward_locked
is unset.
sourcepub fn refund_timeout(&self) -> i64
pub fn refund_timeout(&self) -> i64
Returns the value of refund_timeout
, or the default value if refund_timeout
is unset.
sourcepub fn server_initiated(&self) -> bool
pub fn server_initiated(&self) -> bool
Returns the value of server_initiated
, or the default value if server_initiated
is unset.
sourcepub fn post_install_refund_window_millis(&self) -> i64
pub fn post_install_refund_window_millis(&self) -> i64
Returns the value of post_install_refund_window_millis
, or the default value if post_install_refund_window_millis
is unset.
sourcepub fn immediate_start_needed(&self) -> bool
pub fn immediate_start_needed(&self) -> bool
Returns the value of immediate_start_needed
, or the default value if immediate_start_needed
is unset.
sourcepub fn download_url_gzipped(&self) -> &str
pub fn download_url_gzipped(&self) -> &str
Returns the value of download_url_gzipped
, or the default value if download_url_gzipped
is unset.
sourcepub fn download_size_gzipped(&self) -> i64
pub fn download_size_gzipped(&self) -> i64
Returns the value of download_size_gzipped
, or the default value if download_size_gzipped
is unset.
Trait Implementations
sourceimpl Clone for AndroidAppDeliveryData
impl Clone for AndroidAppDeliveryData
sourcefn clone(&self) -> AndroidAppDeliveryData
fn clone(&self) -> AndroidAppDeliveryData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AndroidAppDeliveryData
impl Debug for AndroidAppDeliveryData
sourceimpl Default for AndroidAppDeliveryData
impl Default for AndroidAppDeliveryData
sourceimpl Message for AndroidAppDeliveryData
impl Message for AndroidAppDeliveryData
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>
fn encode_to_vec(&self) -> Vec<u8, Global>
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self
. Read more
sourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
sourceimpl PartialEq<AndroidAppDeliveryData> for AndroidAppDeliveryData
impl PartialEq<AndroidAppDeliveryData> for AndroidAppDeliveryData
sourcefn eq(&self, other: &AndroidAppDeliveryData) -> bool
fn eq(&self, other: &AndroidAppDeliveryData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AndroidAppDeliveryData) -> bool
fn ne(&self, other: &AndroidAppDeliveryData) -> bool
This method tests for !=
.
impl StructuralPartialEq for AndroidAppDeliveryData
Auto Trait Implementations
impl RefUnwindSafe for AndroidAppDeliveryData
impl Send for AndroidAppDeliveryData
impl Sync for AndroidAppDeliveryData
impl Unpin for AndroidAppDeliveryData
impl UnwindSafe for AndroidAppDeliveryData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more