pub struct ContractAward {Show 33 fields
pub id: String,
pub schema: String,
pub aleph_url: Option<Vec<String>>,
pub amended: Option<Vec<String>>,
pub amount: Option<Vec<f64>>,
pub amount_eur: Option<Vec<f64>>,
pub amount_usd: Option<Vec<f64>>,
pub call_for_tenders: Option<Vec<String>>,
pub contract: Vec<String>,
pub cpv_code: Option<Vec<String>>,
pub currency: Option<Vec<String>>,
pub date: Option<Vec<String>>,
pub decision_reason: Option<Vec<String>>,
pub description: Option<Vec<String>>,
pub document_number: Option<Vec<String>>,
pub document_type: Option<Vec<String>>,
pub end_date: Option<Vec<String>>,
pub index_text: Option<Vec<String>>,
pub lot_number: Option<Vec<String>>,
pub modified_at: Option<Vec<String>>,
pub names_mentioned: Option<Vec<String>>,
pub nuts_code: Option<Vec<String>>,
pub proof: Option<Vec<String>>,
pub publisher: Option<Vec<String>>,
pub publisher_url: Option<Vec<String>>,
pub record_id: Option<Vec<String>>,
pub retrieved_at: Option<Vec<String>>,
pub role: Option<Vec<String>>,
pub source_url: Option<Vec<String>>,
pub start_date: Option<Vec<String>>,
pub status: Option<Vec<String>>,
pub summary: Option<Vec<String>>,
pub supplier: Vec<String>,
}Expand description
FTM Schema: Contract award
Fields§
§id: String§schema: String§aleph_url: Option<Vec<String>>Property: Aleph URL
amended: Option<Vec<String>>Property: Amended
amount: Option<Vec<f64>>Property: Amount
amount_eur: Option<Vec<f64>>Property: Amount in EUR
amount_usd: Option<Vec<f64>>Property: Amount in USD
call_for_tenders: Option<Vec<String>>Property: Call For Tenders
contract: Vec<String>Property: Contract
cpv_code: Option<Vec<String>>Property: CPV code
currency: Option<Vec<String>>Property: Currency
date: Option<Vec<String>>Property: Date
decision_reason: Option<Vec<String>>Property: Decision reason
description: Option<Vec<String>>Property: Description
document_number: Option<Vec<String>>Property: Document number
document_type: Option<Vec<String>>Property: Document type
end_date: Option<Vec<String>>Property: End date
index_text: Option<Vec<String>>Property: Index text
lot_number: Option<Vec<String>>Property: Lot number
modified_at: Option<Vec<String>>Property: Modified on
names_mentioned: Option<Vec<String>>Property: Detected names
nuts_code: Option<Vec<String>>Property: NUTS code
proof: Option<Vec<String>>Property: Source document
publisher: Option<Vec<String>>Property: Publishing source
publisher_url: Option<Vec<String>>Property: Publishing source URL
record_id: Option<Vec<String>>Property: Record ID
retrieved_at: Option<Vec<String>>Property: Retrieved on
role: Option<Vec<String>>Property: Role
source_url: Option<Vec<String>>Property: Source link
start_date: Option<Vec<String>>Property: Start date
status: Option<Vec<String>>Property: Status
summary: Option<Vec<String>>Property: Summary
supplier: Vec<String>Property: Supplier
Implementations§
Source§impl ContractAward
impl ContractAward
Sourcepub fn builder() -> ContractAwardBuilder
pub fn builder() -> ContractAwardBuilder
Create an instance of ContractAward using the builder syntax
Source§impl ContractAward
impl ContractAward
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
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 ContractAward
impl Clone for ContractAward
Source§fn clone(&self) -> ContractAward
fn clone(&self) -> ContractAward
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more