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 duplicate 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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for AndroidCheckinProto
impl PartialEq for AndroidCheckinProto
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