Enum soroban_env_guest::xdr::PublicKey
pub enum PublicKey {
PublicKeyTypeEd25519(Uint256),
}
Variants§
Implementations§
§impl PublicKey
impl PublicKey
pub const VARIANTS: [PublicKeyType; 1] = [PublicKeyType::PublicKeyTypeEd25519]
pub const VARIANTS_STR: [&'static str; 1] = ["PublicKeyTypeEd25519"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> PublicKeyType
pub const fn variants() -> [PublicKeyType; 1]
Trait Implementations§
§impl Discriminant<PublicKeyType> for PublicKey
impl Discriminant<PublicKeyType> for PublicKey
fn discriminant(&self) -> PublicKeyType
§impl Ord for PublicKey
impl Ord for PublicKey
§impl PartialOrd<PublicKey> for PublicKey
impl PartialOrd<PublicKey> for PublicKey
§fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>
fn partial_cmp(&self, other: &PublicKey) -> 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