imgur_openapi 0.4.0

Imgur API client library for Rust.
Documentation
/*
 * Imgur API
 *
 * Imgur's API exposes the entire Imgur infrastructure via a standardized programmatic interface. Using Imgur's API, you can do just about anything you can do on imgur.com, while using your programming language of choice.
 *
 * The version of the OpenAPI document: 0.4.0
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct AccountImagesResponse {
    #[serde(rename = "data")]
    pub data: Vec<crate::models::Image>,
    #[serde(rename = "status")]
    pub status: i32,
    #[serde(rename = "success")]
    pub success: bool,
}

impl AccountImagesResponse {
    pub fn new(data: Vec<crate::models::Image>, status: i32, success: bool) -> AccountImagesResponse {
        AccountImagesResponse {
            data,
            status,
            success,
        }
    }
}