Struct google_searchconsole1::api::Image
source · pub struct Image {
pub data: Option<Vec<u8>>,
pub mime_type: Option<String>,
}
Expand description
Describe image data.
This type is not used in any activity, and only used as part of another schema.
Fields§
§data: Option<Vec<u8>>
Image data in format determined by the mime type. Currently, the format will always be “image/png”, but this might change in the future.
mime_type: Option<String>
The mime-type of the image data.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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 Part for Image
Auto Trait Implementations§
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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