pub struct ImageInfoData {Show 14 fields
pub id: String,
pub title: Option<String>,
pub description: Option<String>,
pub datetime: i32,
pub img_type: String,
pub animated: bool,
pub width: i32,
pub height: i32,
pub size: i32,
pub views: i32,
pub bandwidth: i64,
pub favorite: bool,
pub deletehash: Option<String>,
pub link: String,
}Expand description
Image Info Reponse (data json)
Fields§
§id: StringImage ID
e.g. iDYNKJq
title: Option<String>Image title
description: Option<String>Description of this image
datetime: i32Image uploaded time
img_type: StringImage type
e.g. image/png
animated: boolIf image if animated (gif, etc)
width: i32Width of this image
height: i32Height of this image
size: i32Image size in bytes
views: i32Unique image views
bandwidth: i64Bandwidth used by this image
favorite: boolIf image is added to favorite
deletehash: Option<String>Delete hash (only show after image upload)
link: StringLink of this image
Trait Implementations§
Source§impl Clone for ImageInfoData
impl Clone for ImageInfoData
Source§fn clone(&self) -> ImageInfoData
fn clone(&self) -> ImageInfoData
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 ImageInfoData
impl Debug for ImageInfoData
Source§impl<'de> Deserialize<'de> for ImageInfoData
impl<'de> Deserialize<'de> for ImageInfoData
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 PartialEq for ImageInfoData
impl PartialEq for ImageInfoData
Source§impl Serialize for ImageInfoData
impl Serialize for ImageInfoData
impl Eq for ImageInfoData
impl StructuralPartialEq for ImageInfoData
Auto Trait Implementations§
impl Freeze for ImageInfoData
impl RefUnwindSafe for ImageInfoData
impl Send for ImageInfoData
impl Sync for ImageInfoData
impl Unpin for ImageInfoData
impl UnwindSafe for ImageInfoData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.