Skip to main content

azisaba_graph/models/
crawl_created_event_data.rs

1/*
2 * Azisaba Graph API
3 *
4 * An API for connecting and sharing data across the Azisaba Network.
5 *
6 * The version of the OpenAPI document: 0.0.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CrawlCreatedEventData : The data associated with the crawl.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CrawlCreatedEventData {
17    #[serde(rename = "crawl")]
18    pub crawl: Box<models::Crawl>,
19}
20
21impl CrawlCreatedEventData {
22    /// The data associated with the crawl.
23    pub fn new(crawl: models::Crawl) -> CrawlCreatedEventData {
24        CrawlCreatedEventData {
25            crawl: Box::new(crawl),
26        }
27    }
28}
29