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