square_api_client/models/update_catalog_image_response.rs
1//! Response struct for the Update Catalog Image API
2
3use serde::Deserialize;
4
5use super::{errors::Error, CatalogObject};
6
7/// This is a model struct for UpdateCatalogImageResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct UpdateCatalogImageResponse {
10 /// The newly updated `CatalogImage` including a Square-generated URL for the encapsulated image
11 /// file.
12 pub image: CatalogObject,
13 /// Any errors that occurred during the request.
14 pub errors: Option<Vec<Error>>,
15}