Trait stellar_xdr::next::Name

source ·
pub trait Name {
    fn name(&self) -> &'static str;
}
Available on crate feature next only.
Expand description

Name defines types that assign a static name to their value, such as the name given to an identifier in an XDR enum, or the name given to the case in a union.

Required Methods§

Implementors§