pub struct AdClientAdCode {
pub ad_code: Option<String>,
pub amp_body: Option<String>,
pub amp_head: Option<String>,
}Expand description
Representation of the AdSense code for a given ad client. For more information, see About the AdSense code.
§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).
- adclients get adcode accounts (response)
Fields§
§ad_code: Option<String>Output only. The AdSense code snippet to add to the head of an HTML page.
amp_body: Option<String>Output only. The AdSense code snippet to add to the body of an AMP page.
amp_head: Option<String>Output only. The AdSense code snippet to add to the head of an AMP page.
Trait Implementations§
Source§impl Clone for AdClientAdCode
impl Clone for AdClientAdCode
Source§fn clone(&self) -> AdClientAdCode
fn clone(&self) -> AdClientAdCode
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 AdClientAdCode
impl Debug for AdClientAdCode
Source§impl Default for AdClientAdCode
impl Default for AdClientAdCode
Source§fn default() -> AdClientAdCode
fn default() -> AdClientAdCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdClientAdCode
impl<'de> Deserialize<'de> for AdClientAdCode
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 AdClientAdCode
impl Serialize for AdClientAdCode
impl ResponseResult for AdClientAdCode
Auto Trait Implementations§
impl Freeze for AdClientAdCode
impl RefUnwindSafe for AdClientAdCode
impl Send for AdClientAdCode
impl Sync for AdClientAdCode
impl Unpin for AdClientAdCode
impl UnwindSafe for AdClientAdCode
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