Struct google_content2::api::LiaSettings
source · pub struct LiaSettings {
pub account_id: Option<u64>,
pub country_settings: Option<Vec<LiaCountrySettings>>,
pub kind: Option<String>,
}
Expand description
Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get liasettings (response)
- update liasettings (request|response)
Fields§
§account_id: Option<u64>
The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
country_settings: Option<Vec<LiaCountrySettings>>
The LIA settings for each country.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “content#liaSettings
”
Trait Implementations§
source§impl Clone for LiaSettings
impl Clone for LiaSettings
source§fn clone(&self) -> LiaSettings
fn clone(&self) -> LiaSettings
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 LiaSettings
impl Debug for LiaSettings
source§impl Default for LiaSettings
impl Default for LiaSettings
source§fn default() -> LiaSettings
fn default() -> LiaSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiaSettings
impl<'de> Deserialize<'de> for LiaSettings
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 LiaSettings
impl Serialize for LiaSettings
impl RequestValue for LiaSettings
impl ResponseResult for LiaSettings
Auto Trait Implementations§
impl RefUnwindSafe for LiaSettings
impl Send for LiaSettings
impl Sync for LiaSettings
impl Unpin for LiaSettings
impl UnwindSafe for LiaSettings
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