pub struct AndroidCheckinRequest {Show 22 fields
pub imei: Option<String>,
pub id: Option<i64>,
pub digest: Option<String>,
pub checkin: Option<AndroidCheckinProto>,
pub desired_build: Option<String>,
pub locale: Option<String>,
pub logging_id: Option<i64>,
pub market_checkin: Option<String>,
pub mac_addr: Vec<String>,
pub meid: Option<String>,
pub account_cookie: Vec<String>,
pub time_zone: Option<String>,
pub security_token: Option<u64>,
pub version: Option<i32>,
pub ota_cert: Vec<String>,
pub serial_number: Option<String>,
pub esn: Option<String>,
pub device_configuration: Option<DeviceConfigurationProto>,
pub mac_addr_type: Vec<String>,
pub fragment: Option<i32>,
pub user_name: Option<String>,
pub user_serial_number: Option<i32>,
}
Fields
imei: Option<String>
id: Option<i64>
digest: Option<String>
checkin: Option<AndroidCheckinProto>
desired_build: Option<String>
locale: Option<String>
logging_id: Option<i64>
market_checkin: Option<String>
mac_addr: Vec<String>
meid: Option<String>
time_zone: Option<String>
security_token: Option<u64>
version: Option<i32>
ota_cert: Vec<String>
serial_number: Option<String>
esn: Option<String>
device_configuration: Option<DeviceConfigurationProto>
mac_addr_type: Vec<String>
fragment: Option<i32>
user_name: Option<String>
user_serial_number: Option<i32>
Implementations
sourceimpl AndroidCheckinRequest
impl AndroidCheckinRequest
sourcepub fn digest(&self) -> &str
pub fn digest(&self) -> &str
Returns the value of digest
, or the default value if digest
is unset.
sourcepub fn desired_build(&self) -> &str
pub fn desired_build(&self) -> &str
Returns the value of desired_build
, or the default value if desired_build
is unset.
sourcepub fn locale(&self) -> &str
pub fn locale(&self) -> &str
Returns the value of locale
, or the default value if locale
is unset.
sourcepub fn logging_id(&self) -> i64
pub fn logging_id(&self) -> i64
Returns the value of logging_id
, or the default value if logging_id
is unset.
sourcepub fn market_checkin(&self) -> &str
pub fn market_checkin(&self) -> &str
Returns the value of market_checkin
, or the default value if market_checkin
is unset.
sourcepub fn time_zone(&self) -> &str
pub fn time_zone(&self) -> &str
Returns the value of time_zone
, or the default value if time_zone
is unset.
sourcepub fn security_token(&self) -> u64
pub fn security_token(&self) -> u64
Returns the value of security_token
, or the default value if security_token
is unset.
sourcepub fn version(&self) -> i32
pub fn version(&self) -> i32
Returns the value of version
, or the default value if version
is unset.
sourcepub fn serial_number(&self) -> &str
pub fn serial_number(&self) -> &str
Returns the value of serial_number
, or the default value if serial_number
is unset.
sourcepub fn fragment(&self) -> i32
pub fn fragment(&self) -> i32
Returns the value of fragment
, or the default value if fragment
is unset.
sourcepub fn user_name(&self) -> &str
pub fn user_name(&self) -> &str
Returns the value of user_name
, or the default value if user_name
is unset.
sourcepub fn user_serial_number(&self) -> i32
pub fn user_serial_number(&self) -> i32
Returns the value of user_serial_number
, or the default value if user_serial_number
is unset.
Trait Implementations
sourceimpl Clone for AndroidCheckinRequest
impl Clone for AndroidCheckinRequest
sourcefn clone(&self) -> AndroidCheckinRequest
fn clone(&self) -> AndroidCheckinRequest
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 AndroidCheckinRequest
impl Debug for AndroidCheckinRequest
sourceimpl Default for AndroidCheckinRequest
impl Default for AndroidCheckinRequest
sourceimpl Message for AndroidCheckinRequest
impl Message for AndroidCheckinRequest
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<AndroidCheckinRequest> for AndroidCheckinRequest
impl PartialEq<AndroidCheckinRequest> for AndroidCheckinRequest
sourcefn eq(&self, other: &AndroidCheckinRequest) -> bool
fn eq(&self, other: &AndroidCheckinRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AndroidCheckinRequest) -> bool
fn ne(&self, other: &AndroidCheckinRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for AndroidCheckinRequest
Auto Trait Implementations
impl RefUnwindSafe for AndroidCheckinRequest
impl Send for AndroidCheckinRequest
impl Sync for AndroidCheckinRequest
impl Unpin for AndroidCheckinRequest
impl UnwindSafe for AndroidCheckinRequest
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