Struct goods_treasury::Treasury[][src]

pub struct Treasury { /* fields omitted */ }
Expand description

Storage for goods.

Implementations

Create new goods storage.

Opens goods storage from metadata file.

Fetches asset in native format. Performs conversion if native format is absent or out of date.

Fetches asset in native format. Returns Ok(None) if native file is up-to-date. Performs conversion if native format is absent or out of date.

Returns assets information.

Returns assets information.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more