Enum soroban_env_guest::xdr::next::ClaimableBalanceId
pub enum ClaimableBalanceId {
ClaimableBalanceIdTypeV0(Hash),
}
Variants§
Implementations§
§impl ClaimableBalanceId
impl ClaimableBalanceId
pub const VARIANTS: [ClaimableBalanceIdType; 1] = [ClaimableBalanceIdType::ClaimableBalanceIdTypeV0]
pub const VARIANTS_STR: [&'static str; 1] = ["ClaimableBalanceIdTypeV0"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> ClaimableBalanceIdType
pub const fn variants() -> [ClaimableBalanceIdType; 1]
Trait Implementations§
§impl Clone for ClaimableBalanceId
impl Clone for ClaimableBalanceId
§fn clone(&self) -> ClaimableBalanceId
fn clone(&self) -> ClaimableBalanceId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ClaimableBalanceId
impl Debug for ClaimableBalanceId
§impl Discriminant<ClaimableBalanceIdType> for ClaimableBalanceId
impl Discriminant<ClaimableBalanceIdType> for ClaimableBalanceId
fn discriminant(&self) -> ClaimableBalanceIdType
§impl Hash for ClaimableBalanceId
impl Hash for ClaimableBalanceId
§impl Ord for ClaimableBalanceId
impl Ord for ClaimableBalanceId
§fn cmp(&self, other: &ClaimableBalanceId) -> Ordering
fn cmp(&self, other: &ClaimableBalanceId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq<ClaimableBalanceId> for ClaimableBalanceId
impl PartialEq<ClaimableBalanceId> for ClaimableBalanceId
§fn eq(&self, other: &ClaimableBalanceId) -> bool
fn eq(&self, other: &ClaimableBalanceId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<ClaimableBalanceId> for ClaimableBalanceId
impl PartialOrd<ClaimableBalanceId> for ClaimableBalanceId
§fn partial_cmp(&self, other: &ClaimableBalanceId) -> Option<Ordering>
fn partial_cmp(&self, other: &ClaimableBalanceId) -> 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