pub struct RealEstate {Show 44 fields
pub id: String,
pub schema: String,
pub address: Option<Vec<String>>,
pub address_entity: Option<Vec<String>>,
pub aleph_url: Option<Vec<String>>,
pub alias: Option<Vec<String>>,
pub amount: Option<Vec<f64>>,
pub amount_eur: Option<Vec<f64>>,
pub amount_usd: Option<Vec<f64>>,
pub area: Option<Vec<f64>>,
pub cadastral_code: Option<Vec<String>>,
pub census_block: Option<Vec<String>>,
pub country: Option<Vec<String>>,
pub create_date: Option<Vec<String>>,
pub created_at: Option<Vec<String>>,
pub currency: Option<Vec<String>>,
pub description: Option<Vec<String>>,
pub encumbrance: Option<Vec<String>>,
pub index_text: Option<Vec<String>>,
pub keywords: Option<Vec<String>>,
pub land_type: Option<Vec<String>>,
pub latitude: Option<Vec<f64>>,
pub longitude: Option<Vec<f64>>,
pub modified_at: Option<Vec<String>>,
pub name: Vec<String>,
pub notes: Option<Vec<String>>,
pub parent: Option<Vec<String>>,
pub previous_name: Option<Vec<String>>,
pub program: Option<Vec<String>>,
pub program_id: Option<Vec<String>>,
pub proof: Option<Vec<String>>,
pub property_type: Option<Vec<String>>,
pub publisher: Option<Vec<String>>,
pub publisher_url: Option<Vec<String>>,
pub registration_number: Option<Vec<String>>,
pub retrieved_at: Option<Vec<String>>,
pub source_url: Option<Vec<String>>,
pub summary: Option<Vec<String>>,
pub tenure: Option<Vec<String>>,
pub title_number: Option<Vec<String>>,
pub topics: Option<Vec<String>>,
pub weak_alias: Option<Vec<String>>,
pub wikidata_id: Option<Vec<String>>,
pub wikipedia_url: Option<Vec<String>>,
}Expand description
FTM Schema: Real estate
Fields§
§id: String§schema: String§address: Option<Vec<String>>Property: Address
address_entity: Option<Vec<String>>Property: Address
aleph_url: Option<Vec<String>>Property: Aleph URL
alias: Option<Vec<String>>Property: Alias
amount: Option<Vec<f64>>Property: Amount
amount_eur: Option<Vec<f64>>Property: Amount in EUR
amount_usd: Option<Vec<f64>>Property: Amount in USD
area: Option<Vec<f64>>Property: Area
cadastral_code: Option<Vec<String>>Property: Cadastral code
census_block: Option<Vec<String>>Property: Census block
country: Option<Vec<String>>Property: Country
create_date: Option<Vec<String>>Property: Record date
created_at: Option<Vec<String>>Property: Created at
currency: Option<Vec<String>>Property: Currency
description: Option<Vec<String>>Property: Description
encumbrance: Option<Vec<String>>Property: Encumbrance
index_text: Option<Vec<String>>Property: Index text
keywords: Option<Vec<String>>Property: Keywords
land_type: Option<Vec<String>>Property: Land type
latitude: Option<Vec<f64>>Property: Latitude
longitude: Option<Vec<f64>>Property: Longitude
modified_at: Option<Vec<String>>Property: Modified on
name: Vec<String>Property: Name
notes: Option<Vec<String>>Property: Notes
parent: Option<Vec<String>>Property: Parent unit
previous_name: Option<Vec<String>>Property: Previous name
program: Option<Vec<String>>Property: Program
program_id: Option<Vec<String>>Property: Program ID
proof: Option<Vec<String>>Property: Source document
property_type: Option<Vec<String>>Property: Property type
publisher: Option<Vec<String>>Property: Publishing source
publisher_url: Option<Vec<String>>Property: Publishing source URL
registration_number: Option<Vec<String>>Property: Registration number
retrieved_at: Option<Vec<String>>Property: Retrieved on
source_url: Option<Vec<String>>Property: Source link
summary: Option<Vec<String>>Property: Summary
tenure: Option<Vec<String>>Property: Tenure
title_number: Option<Vec<String>>Property: Title number
topics: Option<Vec<String>>Property: Topics
weak_alias: Option<Vec<String>>Property: Weak alias
wikidata_id: Option<Vec<String>>Property: Wikidata ID
wikipedia_url: Option<Vec<String>>Property: Wikipedia Article
Implementations§
Source§impl RealEstate
impl RealEstate
Sourcepub fn builder() -> RealEstateBuilder
pub fn builder() -> RealEstateBuilder
Create an instance of RealEstate using the builder syntax
Source§impl RealEstate
impl RealEstate
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 RealEstate
impl Clone for RealEstate
Source§fn clone(&self) -> RealEstate
fn clone(&self) -> RealEstate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more