pub enum ShelleyPaymentPart {
Key(PaymentKeyHash),
Script(ScriptHash),
}
Expand description
The payment part of a Shelley address
Variants§
Key(PaymentKeyHash)
Script(ScriptHash)
Implementations§
Trait Implementations§
source§impl Clone for ShelleyPaymentPart
impl Clone for ShelleyPaymentPart
source§fn clone(&self) -> ShelleyPaymentPart
fn clone(&self) -> ShelleyPaymentPart
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 moresource§impl Debug for ShelleyPaymentPart
impl Debug for ShelleyPaymentPart
source§impl Hash for ShelleyPaymentPart
impl Hash for ShelleyPaymentPart
source§impl PartialEq for ShelleyPaymentPart
impl PartialEq for ShelleyPaymentPart
source§fn eq(&self, other: &ShelleyPaymentPart) -> bool
fn eq(&self, other: &ShelleyPaymentPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ShelleyPaymentPart
impl PartialOrd for ShelleyPaymentPart
source§fn partial_cmp(&self, other: &ShelleyPaymentPart) -> Option<Ordering>
fn partial_cmp(&self, other: &ShelleyPaymentPart) -> 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 moreimpl Eq for ShelleyPaymentPart
impl StructuralPartialEq for ShelleyPaymentPart
Auto Trait Implementations§
impl RefUnwindSafe for ShelleyPaymentPart
impl Send for ShelleyPaymentPart
impl Sync for ShelleyPaymentPart
impl Unpin for ShelleyPaymentPart
impl UnwindSafe for ShelleyPaymentPart
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