[−][src]Struct derpiboorust::models::Image
Image model
Fields
id: u64
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
first_seen_at: DateTime<Utc>
score: i64
comment_count: u64
width: u64
height: u64
file_name: String
description: String
uploader: String
uploader_id: Option<Id>
image: String
upvotes: u64
downvotes: u64
faves: u64
tag_ids: Vec<Id>
aspect_ratio: f64
original_format: String
mime_type: String
sha512_hash: String
orig_sha512_hash: Option<String>
source_url: String
representations: Representations
is_rendered: bool
is_optimized: bool
spoilered: Option<bool>
Trait Implementations
impl Debug for Image
[src]
impl<'de> Deserialize<'de> for Image
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,