symfwebapi 0.1.2620

Rust client for Symfonia WebAPI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

/// WebAPI model `InventoryState`.
#[allow(non_snake_case)]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct InventoryState {
    #[serde(rename = "ProductId")]
    pub ProductId: i32,
    #[serde(rename = "WarehouseId")]
    pub WarehouseId: i32,
    #[serde(rename = "AmountInStore")]
    pub AmountInStore: rust_decimal::Decimal,
    #[serde(rename = "AmountToSale")]
    pub AmountToSale: rust_decimal::Decimal,
}