Struct google_customsearch1::api::PromotionImage [−][src]
pub struct PromotionImage {
pub height: Option<i32>,
pub source: Option<String>,
pub width: Option<i32>,
}
Expand description
Image belonging to a promotion.
This type is not used in any activity, and only used as part of another schema.
Fields
height: Option<i32>
Image height in pixels.
source: Option<String>
URL of the image for this promotion link.
width: Option<i32>
Image width in pixels.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for PromotionImage
impl Send for PromotionImage
impl Sync for PromotionImage
impl Unpin for PromotionImage
impl UnwindSafe for PromotionImage
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more