Struct furbooru::image::Image[][src]

pub struct Image {
Show 34 fields pub name: String, pub faves: i64, pub format: String, pub updated_at: String, pub downvotes: i64, pub duplicate_of: Option<u64>, pub tag_count: i64, pub spoilered: Option<bool>, pub uploader: Option<String>, pub deletion_reason: Option<String>, pub width: i64, pub processed: bool, pub created_at: String, pub orig_sha512_hash: String, pub view_url: String, pub uploader_id: Option<i64>, pub intensities: Option<Intensities>, pub score: i64, pub height: i64, pub mime_type: String, pub tag_ids: Vec<i64>, pub wilson_score: f64, pub first_seen_at: String, pub tags: Vec<String>, pub id: i64, pub upvotes: i64, pub comment_count: i64, pub representations: Option<Representations>, pub thumbnails_generated: bool, pub aspect_ratio: f64, pub hidden_from_users: bool, pub sha512_hash: String, pub source_url: Option<String>, pub description: String,
}

Fields

name: Stringfaves: i64format: Stringupdated_at: Stringdownvotes: i64duplicate_of: Option<u64>tag_count: i64spoilered: Option<bool>uploader: Option<String>deletion_reason: Option<String>width: i64processed: boolcreated_at: Stringorig_sha512_hash: Stringview_url: Stringuploader_id: Option<i64>intensities: Option<Intensities>score: i64height: i64mime_type: Stringtag_ids: Vec<i64>wilson_score: f64first_seen_at: Stringtags: Vec<String>id: i64upvotes: i64comment_count: i64representations: Option<Representations>thumbnails_generated: boolaspect_ratio: f64hidden_from_users: boolsha512_hash: Stringsource_url: Option<String>description: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.