Struct google_admob1::api::LocalizationSettings
source · pub struct LocalizationSettings {
pub currency_code: Option<String>,
pub language_code: Option<String>,
}
Expand description
Localization settings for reports, such as currency and language. It affects how metrics are calculated.
This type is not used in any activity, and only used as part of another schema.
Fields§
§currency_code: Option<String>
Currency code of the earning related metrics, which is the 3-letter code defined in ISO 4217. The daily average rate is used for the currency conversion. Defaults to the account currency code if unspecified.
language_code: Option<String>
Language used for any localized text, such as some dimension value display labels. The language tag defined in the IETF BCP47. Defaults to ‘en-US’ if unspecified.
Trait Implementations§
source§impl Clone for LocalizationSettings
impl Clone for LocalizationSettings
source§fn clone(&self) -> LocalizationSettings
fn clone(&self) -> LocalizationSettings
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 LocalizationSettings
impl Debug for LocalizationSettings
source§impl Default for LocalizationSettings
impl Default for LocalizationSettings
source§fn default() -> LocalizationSettings
fn default() -> LocalizationSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalizationSettings
impl<'de> Deserialize<'de> for LocalizationSettings
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for LocalizationSettings
impl Serialize for LocalizationSettings
impl Part for LocalizationSettings
Auto Trait Implementations§
impl RefUnwindSafe for LocalizationSettings
impl Send for LocalizationSettings
impl Sync for LocalizationSettings
impl Unpin for LocalizationSettings
impl UnwindSafe for LocalizationSettings
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