pub enum ClaimableBalance {
V0([u8; 32]),
}Expand description
A claimable balance identifier (B...).
Variants§
Implementations§
Source§impl ClaimableBalance
impl ClaimableBalance
pub const ENCODED_LEN: usize
pub fn to_string(&self) -> HeaplessString<{ Self::ENCODED_LEN }>
pub fn from_string(s: &str) -> Result<Self, DecodeError>
pub fn from_slice(s: &[u8]) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Clone for ClaimableBalance
impl Clone for ClaimableBalance
impl Copy for ClaimableBalance
Source§impl Debug for ClaimableBalance
impl Debug for ClaimableBalance
Source§impl Display for ClaimableBalance
impl Display for ClaimableBalance
impl Eq for ClaimableBalance
Source§impl FromStr for ClaimableBalance
impl FromStr for ClaimableBalance
Source§impl Hash for ClaimableBalance
impl Hash for ClaimableBalance
Source§impl Ord for ClaimableBalance
impl Ord for ClaimableBalance
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClaimableBalance
impl PartialEq for ClaimableBalance
Source§impl PartialOrd for ClaimableBalance
impl PartialOrd for ClaimableBalance
impl StructuralPartialEq for ClaimableBalance
Auto Trait Implementations§
impl Freeze for ClaimableBalance
impl RefUnwindSafe for ClaimableBalance
impl Send for ClaimableBalance
impl Sync for ClaimableBalance
impl Unpin for ClaimableBalance
impl UnsafeUnpin for ClaimableBalance
impl UnwindSafe for ClaimableBalance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more