Struct google_dfareporting3d2::api::Size
source · pub struct Size {
pub height: Option<i32>,
pub iab: Option<bool>,
pub id: Option<i64>,
pub kind: Option<String>,
pub width: Option<i32>,
}
Expand description
Represents the dimensions of ads, placements, creatives, or creative assets.
§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 sizes (response)
- insert sizes (request|response)
- list sizes (none)
Fields§
§height: Option<i32>
Height of this size. Acceptable values are 0 to 32767, inclusive.
iab: Option<bool>
IAB standard size. This is a read-only, auto-generated field.
id: Option<i64>
ID of this size. This is a read-only, auto-generated field.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#size”.
width: Option<i32>
Width of this size. Acceptable values are 0 to 32767, inclusive.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Size
impl<'de> Deserialize<'de> for Size
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 RequestValue for Size
impl Resource for Size
impl ResponseResult for Size
Auto Trait Implementations§
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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