Struct weeb_api::model::Image
[−]
[src]
pub struct Image { pub account: String, pub kind: String, pub file_type: String, pub hidden: bool, pub id: String, pub mime_type: String, pub nsfw: bool, pub tags: Vec<ImageTag>, pub url: String, }
An struct containing all the properties of a returned image.
Fields
account: String
ID of the API account that uploaded the image.
kind: String
Category-like type of the image.
file_type: String
File type of the image.
If the image is private and only available to its uploader.
id: String
Internal document ID of the image.
mime_type: String
Mime type of the image.
nsfw: bool
If the image contains inappropriate content.
Array of ImageTag structs.
url: String
URL of the image.
Trait Implementations
impl Clone for Image
[src]
fn clone(&self) -> Image
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more