azisaba-graph 0.1.0-rc.16

An API for connecting and sharing data across the Azisaba Network.
Documentation
/*
 * Azisaba Graph API
 *
 * An API for connecting and sharing data across the Azisaba Network.
 *
 * The version of the OpenAPI document: 0.0.1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// CrawlDeletedEventData : The data associated with the crawl.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CrawlDeletedEventData {
    #[serde(rename = "crawl")]
    pub crawl: Box<models::Crawl>,
}

impl CrawlDeletedEventData {
    /// The data associated with the crawl.
    pub fn new(crawl: models::Crawl) -> CrawlDeletedEventData {
        CrawlDeletedEventData {
            crawl: Box::new(crawl),
        }
    }
}