Struct shuttle_core::CreditAsset [] [src]

pub struct CreditAsset { /* fields omitted */ }

A non-native asset, identified by asset code/issuer id.

Methods

impl CreditAsset
[src]

[src]

Create new credit asset with code and `issuer.

Code must be shorter than 12 characters.

[src]

Return the asset code.

[src]

Return the asset issuer.

Trait Implementations

impl Debug for CreditAsset
[src]

[src]

Formats the value using the given formatter.

impl Clone for CreditAsset
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CreditAsset
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for CreditAsset
[src]