Enum stellar_client::resources::Memo[][src]

pub enum Memo {
    Text(String),
    Id(i64),
    Hash(String),
    Return(String),
    None,
}

Memos are a useful source for adding meta data to a transaction. A consists of a type and content (unless memo type is none).

To learn more about the concept of memos in the Stellar network, take a look at the Stellar memo description here: https://www.stellar.org/developers/guides/concepts/transactions.html#memo

Variants

A string encoded using either ASCII or UTF-8, up to 28-bytes long.

A 64 bit unsigned integer.

A 32 byte hash.

A 32 byte hash intended to be interpreted as the hash of the transaction the sender is refunding.

The most common scenario where there is no memo included on the transaction.

Trait Implementations

impl Debug for Memo
[src]

Formats the value using the given formatter. Read more

impl Clone for Memo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Memo
[src]

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

This method tests for !=.

impl Eq for Memo
[src]

Auto Trait Implementations

impl Send for Memo

impl Sync for Memo