square_api_client/models/retrieve_inventory_adjustment_response.rs
1//! Response struct for the Retrieve Inventory Adjustments API
2
3use serde::Deserialize;
4
5use super::{errors::Error, InventoryAdjustment};
6
7/// This is a model struct for RetrieveInventoryAdjustmentResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct RetrieveInventoryAdjustmentResponse {
10 /// The created successfully created CatalogObjects.
11 pub adjustment: Option<InventoryAdjustment>,
12 /// Any errors that occurred during the request.
13 pub errors: Option<Vec<Error>>,
14}