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

ID of the API account that uploaded the image.

Category-like type of the image.

File type of the image.

If the image is private and only available to its uploader.

Internal document ID of the image.

Mime type of the image.

If the image contains inappropriate content.

Array of ImageTag structs.

URL of the image.

Trait Implementations

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Image
[src]

[src]

Formats the value using the given formatter.