pub struct CreativeDimensions {
pub height: Option<i64>,
pub width: Option<i64>,
}Expand description
The dimensions of a creative. This applies to only HTML and Native creatives.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height: Option<i64>The height of the creative in pixels.
width: Option<i64>The width of the creative in pixels.
Trait Implementations§
Source§impl Clone for CreativeDimensions
impl Clone for CreativeDimensions
Source§fn clone(&self) -> CreativeDimensions
fn clone(&self) -> CreativeDimensions
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 CreativeDimensions
impl Debug for CreativeDimensions
Source§impl Default for CreativeDimensions
impl Default for CreativeDimensions
Source§fn default() -> CreativeDimensions
fn default() -> CreativeDimensions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreativeDimensions
impl<'de> Deserialize<'de> for CreativeDimensions
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 CreativeDimensions
impl Serialize for CreativeDimensions
impl Part for CreativeDimensions
Auto Trait Implementations§
impl Freeze for CreativeDimensions
impl RefUnwindSafe for CreativeDimensions
impl Send for CreativeDimensions
impl Sync for CreativeDimensions
impl Unpin for CreativeDimensions
impl UnwindSafe for CreativeDimensions
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