dtz-rss2email 2.0.7

a generated client for the DTZ RSS2Email API
Documentation
/*
 * DTZ RSS2Email Api
 *
 * a generated client for the DTZ RSS2Email API
 *
 * Contact: jens@apimeister.com
 * Generated by: https://openapi-generator.tech
 */

#[allow(unused_imports)]
use crate::models;
#[allow(unused_imports)]
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FeedResponse {
    #[serde(rename = "email")]
    pub email: String,
    #[serde(rename = "feeds")]
    pub feeds: Vec<models::Feed>,
}

impl FeedResponse {
    pub fn new(email: String, feeds: Vec<models::Feed>) -> FeedResponse {
        FeedResponse {
            email,
            feeds,
        }
    }
}