Struct google_customsearch1::api::ResultImage [−][src]
pub struct ResultImage {
pub byte_size: Option<i32>,
pub context_link: Option<String>,
pub height: Option<i32>,
pub thumbnail_height: Option<i32>,
pub thumbnail_link: Option<String>,
pub thumbnail_width: Option<i32>,
pub width: Option<i32>,
}
Expand description
Image belonging to a custom search result.
This type is not used in any activity, and only used as part of another schema.
Fields
byte_size: Option<i32>
The size of the image, in pixels.
context_link: Option<String>
A URL pointing to the webpage hosting the image.
height: Option<i32>
The height of the image, in pixels.
thumbnail_height: Option<i32>
The height of the thumbnail image, in pixels.
thumbnail_link: Option<String>
A URL to the thumbnail image.
thumbnail_width: Option<i32>
The width of the thumbnail image, in pixels.
width: Option<i32>
The width of the image, 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 ResultImage
impl Send for ResultImage
impl Sync for ResultImage
impl Unpin for ResultImage
impl UnwindSafe for ResultImage
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more