squareup 2.13.0

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Response body struct for the CatalogEventData type

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

/// This is a model struct for CatalogEventData type.
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
pub struct CatalogEventData {
    /// The type of the event data object.
    pub r#type: String,
    /// An object containing fields and values relevant to the event. Is absent if affected
    /// object was deleted.
    pub object: CatalogVersionUpdatedEventObject,
}