Struct google_api_proto::google::maps::unity::ClientInfo
source · pub struct ClientInfo {
pub application_id: String,
pub application_version: String,
pub platform: i32,
pub operating_system: String,
pub api_client: String,
pub device_model: String,
pub language_code: String,
pub operating_system_build: String,
}
Expand description
Client information.
Fields§
§application_id: String
Application ID, such as the package name on Android and the bundle identifier on iOS platforms.
application_version: String
Application version number, such as “1.2.3”. The exact format is application-dependent.
platform: i32
Platform where the application is running.
operating_system: String
Operating system name and version as reported by the OS. For example, “Mac OS X 10.10.4”. The exact format is platform-dependent.
api_client: String
API client name and version. For example, the SDK calling the API. The exact format is up to the client.
device_model: String
Device model as reported by the device. The exact format is platform-dependent.
language_code: String
Language code (in BCP-47 format) indicating the UI language of the client. Examples are “en”, “en-US” or “ja-Latn”. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
operating_system_build: String
Build number/version of the operating system. e.g., the contents of android.os.Build.ID in Android, or the contents of sysctl “kern.osversion” in iOS.
Implementations§
source§impl ClientInfo
impl ClientInfo
Trait Implementations§
source§impl Clone for ClientInfo
impl Clone for ClientInfo
source§fn clone(&self) -> ClientInfo
fn clone(&self) -> ClientInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientInfo
impl Debug for ClientInfo
source§impl Default for ClientInfo
impl Default for ClientInfo
source§impl Message for ClientInfo
impl Message for ClientInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
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,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
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,
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,
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,
self
.source§impl PartialEq for ClientInfo
impl PartialEq for ClientInfo
source§fn eq(&self, other: &ClientInfo) -> bool
fn eq(&self, other: &ClientInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientInfo
Auto Trait Implementations§
impl Freeze for ClientInfo
impl RefUnwindSafe for ClientInfo
impl Send for ClientInfo
impl Sync for ClientInfo
impl Unpin for ClientInfo
impl UnwindSafe for ClientInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request