pub enum StakeCredential {
Key(Ed25519KeyHash),
Script(ScriptHash),
}Variants§
Key(Ed25519KeyHash)
Script(ScriptHash)
Trait Implementations§
Source§impl Clone for StakeCredential
impl Clone for StakeCredential
Source§fn clone(&self) -> StakeCredential
fn clone(&self) -> StakeCredential
Returns a duplicate 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 moreSource§impl Debug for StakeCredential
impl Debug for StakeCredential
Source§impl Decode for StakeCredential
impl Decode for StakeCredential
Source§impl Ord for StakeCredential
impl Ord for StakeCredential
Source§fn cmp(&self, other: &StakeCredential) -> Ordering
fn cmp(&self, other: &StakeCredential) -> 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
Source§impl PartialEq for StakeCredential
impl PartialEq for StakeCredential
Source§impl PartialOrd for StakeCredential
impl PartialOrd for StakeCredential
impl Eq for StakeCredential
impl StructuralPartialEq for StakeCredential
Auto Trait Implementations§
impl Freeze for StakeCredential
impl RefUnwindSafe for StakeCredential
impl Send for StakeCredential
impl Sync for StakeCredential
impl Unpin for StakeCredential
impl UnwindSafe for StakeCredential
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