Struct google_adexchangebuyer2_v2_beta1::api::AdSize
source · pub struct AdSize {
pub height: Option<i64>,
pub size_type: Option<String>,
pub width: Option<i64>,
}
Expand description
Represents size of a single ad slot, or a creative.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height: Option<i64>
The height of the ad slot in pixels. This field will be present only when size type is PIXEL
.
size_type: Option<String>
The size type of the ad slot.
width: Option<i64>
The width of the ad slot in pixels. This field will be present only when size type is PIXEL
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for AdSize
impl<'de> Deserialize<'de> for AdSize
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
impl Part for AdSize
Auto Trait Implementations§
impl RefUnwindSafe for AdSize
impl Send for AdSize
impl Sync for AdSize
impl Unpin for AdSize
impl UnwindSafe for AdSize
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