Enum stellar_client::resources::Memo [−][src]
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
Text(String)A string encoded using either ASCII or UTF-8, up to 28-bytes long.
Id(i64)A 64 bit unsigned integer.
Hash(String)A 32 byte hash.
Return(String)A 32 byte hash intended to be interpreted as the hash of the transaction the sender is refunding.
NoneThe most common scenario where there is no memo included on the transaction.
Trait Implementations
impl Debug for Memo[src]
impl Debug for Memofn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Memo[src]
impl Clone for Memofn clone(&self) -> Memo[src]
fn clone(&self) -> MemoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq for Memo[src]
impl PartialEq for Memofn eq(&self, other: &Memo) -> bool[src]
fn eq(&self, other: &Memo) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Memo) -> bool[src]
fn ne(&self, other: &Memo) -> boolThis method tests for !=.
impl Eq for Memo[src]
impl Eq for Memo