Struct googleplay_protobuf::googleplay::Address
source · pub struct Address {Show 15 fields
pub name: Option<String>,
pub address_line1: Option<String>,
pub address_line2: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub postal_code: Option<String>,
pub postal_country: Option<String>,
pub dependent_locality: Option<String>,
pub sorting_code: Option<String>,
pub language_code: Option<String>,
pub phone_number: Option<String>,
pub deprecated_is_reduced: Option<bool>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email: Option<String>,
}
Fields§
§name: Option<String>
§address_line1: Option<String>
§address_line2: Option<String>
§city: Option<String>
§state: Option<String>
§postal_code: Option<String>
§postal_country: Option<String>
§dependent_locality: Option<String>
§sorting_code: Option<String>
§language_code: Option<String>
§phone_number: Option<String>
§deprecated_is_reduced: Option<bool>
§first_name: Option<String>
§last_name: Option<String>
§email: Option<String>
Implementations§
source§impl Address
impl Address
sourcepub fn address_line1(&self) -> &str
pub fn address_line1(&self) -> &str
Returns the value of address_line1
, or the default value if address_line1
is unset.
sourcepub fn address_line2(&self) -> &str
pub fn address_line2(&self) -> &str
Returns the value of address_line2
, or the default value if address_line2
is unset.
sourcepub fn state(&self) -> &str
pub fn state(&self) -> &str
Returns the value of state
, or the default value if state
is unset.
sourcepub fn postal_code(&self) -> &str
pub fn postal_code(&self) -> &str
Returns the value of postal_code
, or the default value if postal_code
is unset.
sourcepub fn postal_country(&self) -> &str
pub fn postal_country(&self) -> &str
Returns the value of postal_country
, or the default value if postal_country
is unset.
sourcepub fn dependent_locality(&self) -> &str
pub fn dependent_locality(&self) -> &str
Returns the value of dependent_locality
, or the default value if dependent_locality
is unset.
sourcepub fn sorting_code(&self) -> &str
pub fn sorting_code(&self) -> &str
Returns the value of sorting_code
, or the default value if sorting_code
is unset.
sourcepub fn language_code(&self) -> &str
pub fn language_code(&self) -> &str
Returns the value of language_code
, or the default value if language_code
is unset.
sourcepub fn phone_number(&self) -> &str
pub fn phone_number(&self) -> &str
Returns the value of phone_number
, or the default value if phone_number
is unset.
sourcepub fn deprecated_is_reduced(&self) -> bool
pub fn deprecated_is_reduced(&self) -> bool
Returns the value of deprecated_is_reduced
, or the default value if deprecated_is_reduced
is unset.
sourcepub fn first_name(&self) -> &str
pub fn first_name(&self) -> &str
Returns the value of first_name
, or the default value if first_name
is unset.
Trait Implementations§
source§impl Message for Address
impl Message for Address
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
.