pub struct EconomicActivity {Show 40 fields
pub id: String,
pub schema: String,
pub aleph_url: Option<Vec<String>>,
pub bank_account: Option<Vec<String>>,
pub bank_foreign: Option<Vec<String>>,
pub bank_rub: Option<Vec<String>>,
pub ccd_number: Option<Vec<String>>,
pub ccd_value: Option<Vec<String>>,
pub contract: Option<Vec<String>>,
pub contract_holder: Option<Vec<String>>,
pub customs_amount: Option<Vec<String>>,
pub customs_procedure: Option<Vec<String>>,
pub date: Option<Vec<String>>,
pub declarant: Option<Vec<String>>,
pub departure_country: Option<Vec<String>>,
pub description: Option<Vec<String>>,
pub destination_country: Option<Vec<String>>,
pub direction_of_transportation: Option<Vec<String>>,
pub dollar_exch_rate: Option<Vec<String>>,
pub end_date: Option<Vec<String>>,
pub goods_description: Option<Vec<String>>,
pub index_text: Option<Vec<String>>,
pub invoice_amount: Option<Vec<String>>,
pub modified_at: Option<Vec<String>>,
pub names_mentioned: Option<Vec<String>>,
pub origin_country: Option<Vec<String>>,
pub proof: Option<Vec<String>>,
pub publisher: Option<Vec<String>>,
pub publisher_url: Option<Vec<String>>,
pub receiver: Option<Vec<String>>,
pub record_id: Option<Vec<String>>,
pub retrieved_at: Option<Vec<String>>,
pub sender: Option<Vec<String>>,
pub source_url: Option<Vec<String>>,
pub start_date: Option<Vec<String>>,
pub summary: Option<Vec<String>>,
pub trading_country: Option<Vec<String>>,
pub transport: Option<Vec<String>>,
pub ved_code: Option<Vec<String>>,
pub ved_code_description: Option<Vec<String>>,
}Expand description
FTM Schema: Customs declaration
Fields§
§id: String§schema: String§aleph_url: Option<Vec<String>>Property: Aleph URL
bank_account: Option<Vec<String>>Property: Bank Account
bank_foreign: Option<Vec<String>>Property: Foreign currency bank
bank_rub: Option<Vec<String>>Property: Rouble bank
ccd_number: Option<Vec<String>>Property: Customs Cargo Declaration Number
ccd_value: Option<Vec<String>>Property: CCD Value
contract: Option<Vec<String>>Property: Contract
contract_holder: Option<Vec<String>>Property: Contract holder
customs_amount: Option<Vec<String>>Property: Customs Value Amount
customs_procedure: Option<Vec<String>>Property: Customs Procedure
date: Option<Vec<String>>Property: Date
declarant: Option<Vec<String>>Property: Declarant
departure_country: Option<Vec<String>>Property: Country of departure
description: Option<Vec<String>>Property: Description
destination_country: Option<Vec<String>>Property: Country of destination
direction_of_transportation: Option<Vec<String>>Property: Direction of transportation
dollar_exch_rate: Option<Vec<String>>Property: USD Exchange Rate
end_date: Option<Vec<String>>Property: End date
goods_description: Option<Vec<String>>Property: Description of goods
index_text: Option<Vec<String>>Property: Index text
invoice_amount: Option<Vec<String>>Property: Invoice Value Amount
modified_at: Option<Vec<String>>Property: Modified on
names_mentioned: Option<Vec<String>>Property: Detected names
origin_country: Option<Vec<String>>Property: Country of origin
proof: Option<Vec<String>>Property: Source document
publisher: Option<Vec<String>>Property: Publishing source
publisher_url: Option<Vec<String>>Property: Publishing source URL
receiver: Option<Vec<String>>Property: Receiver
record_id: Option<Vec<String>>Property: Record ID
retrieved_at: Option<Vec<String>>Property: Retrieved on
sender: Option<Vec<String>>Property: Sender
source_url: Option<Vec<String>>Property: Source link
start_date: Option<Vec<String>>Property: Start date
summary: Option<Vec<String>>Property: Summary
trading_country: Option<Vec<String>>Property: Trading Country
transport: Option<Vec<String>>Property: Transport
ved_code: Option<Vec<String>>Property: FEAC Code
ved_code_description: Option<Vec<String>>Property: FEAC Code description
Implementations§
Source§impl EconomicActivity
impl EconomicActivity
Sourcepub fn builder() -> EconomicActivityBuilder
pub fn builder() -> EconomicActivityBuilder
Create an instance of EconomicActivity using the builder syntax
Source§impl EconomicActivity
impl EconomicActivity
Sourcepub fn new(id: impl Into<String>) -> Self
👎Deprecated: Use the builder() method instead to ensure required fields are set
pub fn new(id: impl Into<String>) -> Self
Use the builder() method instead to ensure required fields are set
Create a new entity with the given ID
Sourcepub fn schema_name() -> &'static str
pub fn schema_name() -> &'static str
Get the schema name
Sourcepub fn to_ftm_json(&self) -> Result<String, Error>
pub fn to_ftm_json(&self) -> Result<String, Error>
Serialize to standard FTM nested JSON format
Produces {"id": "...", "schema": "...", "properties": {...}}
Trait Implementations§
Source§impl Clone for EconomicActivity
impl Clone for EconomicActivity
Source§fn clone(&self) -> EconomicActivity
fn clone(&self) -> EconomicActivity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more