Skip to main content

Object

Trait Object 

Source
pub trait Object {
    const TYPE: &'static str;
}
Expand description

An object of the protocol with its type, e.g. event or account.

Required Associated Constants§

Source

const TYPE: &'static str

The type, written as "type" when the object stands on its own.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Object for Account

Source§

const TYPE: &'static str = "account"

Source§

impl Object for Booking

Source§

const TYPE: &'static str = "booking"

Source§

impl Object for Chart

Source§

const TYPE: &'static str = "chart"

Source§

impl Object for ChartTranslation

Source§

const TYPE: &'static str = "chart_translation"

Source§

impl Object for CurrencyDefinition

Source§

const TYPE: &'static str = "currency"

Source§

impl Object for CurrencyTable

Source§

const TYPE: &'static str = "currency_table"

Source§

impl Object for Document

Source§

const TYPE: &'static str = "document"

Source§

impl Object for Event

Source§

const TYPE: &'static str = "event"

Source§

impl Object for Hlc

Source§

const TYPE: &'static str = "timestamp"

Source§

impl Object for Money

Source§

const TYPE: &'static str = "money"

Source§

impl Object for Names

Source§

const TYPE: &'static str = "names"

Source§

impl Object for Organisation

Source§

const TYPE: &'static str = "organisation"

Source§

impl Object for Original

Source§

const TYPE: &'static str = "original"

Source§

impl Object for Person

Source§

const TYPE: &'static str = "person"

Source§

impl Object for Posting

Source§

const TYPE: &'static str = "posting"

Source§

impl Object for Registration

Source§

const TYPE: &'static str = "registration"

Source§

impl Object for ReportMapping

Source§

const TYPE: &'static str = "report_mapping"

Source§

impl Object for Role

Source§

const TYPE: &'static str = "role"

Source§

impl Object for Shares

Source§

const TYPE: &'static str = "shares"

Source§

impl Object for TaxCodeDefinition

Source§

const TYPE: &'static str = "tax_code"

Source§

impl Object for TaxId

Source§

const TYPE: &'static str = "tax_id"

Source§

impl Object for TaxTable

Source§

const TYPE: &'static str = "tax_table"