cscart_rs/types/
block.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug)]
4pub struct Block {
5    block_id: String,
6    #[serde(rename = "type")]
7    block_type: String,
8    properties: serde_json::Value,
9    company_id: String,
10    lang_code: String,
11    name: String,
12    content: Option<serde_json::Value>,
13}