Skip to main content

Value

Trait Value 

Source
pub trait Value {
    // Required methods
    fn id(&self) -> &str;
    fn schema(&self) -> &str;
    fn amount(&self) -> Option<&[f64]>;
    fn amount_eur(&self) -> Option<&[f64]>;
    fn amount_usd(&self) -> Option<&[f64]>;
    fn currency(&self) -> Option<&[String]>;
}
Expand description

Trait for FTM schema: Value

Required Methods§

Source

fn id(&self) -> &str

Get the entity ID

Source

fn schema(&self) -> &str

Get the schema name

Source

fn amount(&self) -> Option<&[f64]>

Get Amount property

Source

fn amount_eur(&self) -> Option<&[f64]>

Get Amount in EUR property

Source

fn amount_usd(&self) -> Option<&[f64]>

Get Amount in USD property

Source

fn currency(&self) -> Option<&[String]>

Get Currency property

Implementors§