Struct googleplay_protobuf::googleplay::AndroidBuildProto
source · pub struct AndroidBuildProto {Show 14 fields
pub id: Option<String>,
pub product: Option<String>,
pub carrier: Option<String>,
pub radio: Option<String>,
pub bootloader: Option<String>,
pub client: Option<String>,
pub timestamp: Option<i64>,
pub google_services: Option<i32>,
pub device: Option<String>,
pub sdk_version: Option<i32>,
pub model: Option<String>,
pub manufacturer: Option<String>,
pub build_product: Option<String>,
pub ota_installed: Option<bool>,
}
Fields§
§id: Option<String>
§product: Option<String>
§carrier: Option<String>
§radio: Option<String>
§bootloader: Option<String>
§client: Option<String>
§timestamp: Option<i64>
§google_services: Option<i32>
§device: Option<String>
§sdk_version: Option<i32>
§model: Option<String>
§manufacturer: Option<String>
§build_product: Option<String>
§ota_installed: Option<bool>
Implementations§
source§impl AndroidBuildProto
impl AndroidBuildProto
sourcepub fn product(&self) -> &str
pub fn product(&self) -> &str
Returns the value of product
, or the default value if product
is unset.
sourcepub fn carrier(&self) -> &str
pub fn carrier(&self) -> &str
Returns the value of carrier
, or the default value if carrier
is unset.
sourcepub fn radio(&self) -> &str
pub fn radio(&self) -> &str
Returns the value of radio
, or the default value if radio
is unset.
sourcepub fn bootloader(&self) -> &str
pub fn bootloader(&self) -> &str
Returns the value of bootloader
, or the default value if bootloader
is unset.
sourcepub fn client(&self) -> &str
pub fn client(&self) -> &str
Returns the value of client
, or the default value if client
is unset.
sourcepub fn timestamp(&self) -> i64
pub fn timestamp(&self) -> i64
Returns the value of timestamp
, or the default value if timestamp
is unset.
sourcepub fn google_services(&self) -> i32
pub fn google_services(&self) -> i32
Returns the value of google_services
, or the default value if google_services
is unset.
sourcepub fn device(&self) -> &str
pub fn device(&self) -> &str
Returns the value of device
, or the default value if device
is unset.
sourcepub fn sdk_version(&self) -> i32
pub fn sdk_version(&self) -> i32
Returns the value of sdk_version
, or the default value if sdk_version
is unset.
sourcepub fn model(&self) -> &str
pub fn model(&self) -> &str
Returns the value of model
, or the default value if model
is unset.
sourcepub fn manufacturer(&self) -> &str
pub fn manufacturer(&self) -> &str
Returns the value of manufacturer
, or the default value if manufacturer
is unset.
sourcepub fn build_product(&self) -> &str
pub fn build_product(&self) -> &str
Returns the value of build_product
, or the default value if build_product
is unset.
sourcepub fn ota_installed(&self) -> bool
pub fn ota_installed(&self) -> bool
Returns the value of ota_installed
, or the default value if ota_installed
is unset.
Trait Implementations§
source§impl Clone for AndroidBuildProto
impl Clone for AndroidBuildProto
source§fn clone(&self) -> AndroidBuildProto
fn clone(&self) -> AndroidBuildProto
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AndroidBuildProto
impl Debug for AndroidBuildProto
source§impl Default for AndroidBuildProto
impl Default for AndroidBuildProto
source§impl Message for AndroidBuildProto
impl Message for AndroidBuildProto
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 AndroidBuildProto
impl PartialEq for AndroidBuildProto
source§fn eq(&self, other: &AndroidBuildProto) -> bool
fn eq(&self, other: &AndroidBuildProto) -> bool
self
and other
values to be equal, and is used
by ==
.