Enum soroban_env_guest::xdr::Memo
Variants§
Implementations§
§impl Memo
impl Memo
pub const VARIANTS: [MemoType; 5] = [MemoType::None, MemoType::Text, MemoType::Id, MemoType::Hash, MemoType::Return]
pub const VARIANTS_STR: [&'static str; 5] = ["None", "Text", "Id", "Hash", "Return"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> MemoType
pub const fn variants() -> [MemoType; 5]
Trait Implementations§
§impl Discriminant<MemoType> for Memo
impl Discriminant<MemoType> for Memo
fn discriminant(&self) -> MemoType
§impl Ord for Memo
impl Ord for Memo
§impl PartialOrd<Memo> for Memo
impl PartialOrd<Memo> for Memo
§fn partial_cmp(&self, other: &Memo) -> Option<Ordering>
fn partial_cmp(&self, other: &Memo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more