Struct gapi_grpc::google::ads::googleads::v4::common::ImageAdInfo [−][src]
An image ad.
Fields
pixel_width: Option<i64>
Width in pixels of the full size image.
pixel_height: Option<i64>
Height in pixels of the full size image.
image_url: Option<String>
URL of the full size image.
preview_pixel_width: Option<i64>
Width in pixels of the preview size image.
preview_pixel_height: Option<i64>
Height in pixels of the preview size image.
preview_image_url: Option<String>
URL of the preview size image.
mime_type: i32
The mime type of the image.
name: Option<String>
The name of the image. If the image was created from a MediaFile, this is the MediaFile’s name. If the image was created from bytes, this is empty.
image: Option<Image>
The image to create the ImageAd from. This can be specified in one of two ways.
- An existing MediaFile resource.
- The raw image data as bytes.
Implementations
impl ImageAdInfo
[src][−]
pub fn mime_type(&self) -> MimeType
[src][−]
Returns the enum value of mime_type
, or the default if the field is set to an invalid enum value.
pub fn set_mime_type(&mut self, value: MimeType)
[src][−]
Sets mime_type
to the provided enum value.
Trait Implementations
impl Clone for ImageAdInfo
[src][+]
impl Debug for ImageAdInfo
[src][+]
impl Default for ImageAdInfo
[src][+]
impl Message for ImageAdInfo
[src][+]
impl PartialEq<ImageAdInfo> for ImageAdInfo
[src][+]
impl StructuralPartialEq for ImageAdInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageAdInfo
impl Send for ImageAdInfo
impl Sync for ImageAdInfo
impl Unpin for ImageAdInfo
impl UnwindSafe for ImageAdInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,