pub struct AndroidCheckinProto {
pub build: Option<AndroidBuildProto>,
pub last_checkin_msec: Option<i64>,
pub event: Vec<AndroidEventProto>,
pub stat: Vec<AndroidStatisticProto>,
pub requested_group: Vec<String>,
pub cell_operator: Option<String>,
pub sim_operator: Option<String>,
pub roaming: Option<String>,
pub user_number: Option<i32>,
}
Fields§
§build: Option<AndroidBuildProto>
§last_checkin_msec: Option<i64>
§event: Vec<AndroidEventProto>
§stat: Vec<AndroidStatisticProto>
§requested_group: Vec<String>
§cell_operator: Option<String>
§sim_operator: Option<String>
§roaming: Option<String>
§user_number: Option<i32>
Implementations§
source§impl AndroidCheckinProto
impl AndroidCheckinProto
sourcepub fn last_checkin_msec(&self) -> i64
pub fn last_checkin_msec(&self) -> i64
Returns the value of last_checkin_msec
, or the default value if last_checkin_msec
is unset.
sourcepub fn cell_operator(&self) -> &str
pub fn cell_operator(&self) -> &str
Returns the value of cell_operator
, or the default value if cell_operator
is unset.
sourcepub fn sim_operator(&self) -> &str
pub fn sim_operator(&self) -> &str
Returns the value of sim_operator
, or the default value if sim_operator
is unset.
sourcepub fn roaming(&self) -> &str
pub fn roaming(&self) -> &str
Returns the value of roaming
, or the default value if roaming
is unset.
sourcepub fn user_number(&self) -> i32
pub fn user_number(&self) -> i32
Returns the value of user_number
, or the default value if user_number
is unset.
Trait Implementations§
source§impl Clone for AndroidCheckinProto
impl Clone for AndroidCheckinProto
source§fn clone(&self) -> AndroidCheckinProto
fn clone(&self) -> AndroidCheckinProto
Returns a copy 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 AndroidCheckinProto
impl Debug for AndroidCheckinProto
source§impl Default for AndroidCheckinProto
impl Default for AndroidCheckinProto
source§impl Message for AndroidCheckinProto
impl Message for AndroidCheckinProto
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
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>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for AndroidCheckinProto
impl PartialEq for AndroidCheckinProto
source§fn eq(&self, other: &AndroidCheckinProto) -> bool
fn eq(&self, other: &AndroidCheckinProto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AndroidCheckinProto
Auto Trait Implementations§
impl Freeze for AndroidCheckinProto
impl RefUnwindSafe for AndroidCheckinProto
impl Send for AndroidCheckinProto
impl Sync for AndroidCheckinProto
impl Unpin for AndroidCheckinProto
impl UnwindSafe for AndroidCheckinProto
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