[−][src]Struct wagyu_zcash::private_key::P2PKHSpendingKey
Methods
impl<N: ZcashNetwork> P2PKHSpendingKey<N>
[src]
pub fn new(secret_key: SecretKey, compressed: bool) -> Self
[src]
pub fn to_secp256k1_secret_key(&self) -> SecretKey
[src]
Returns the p2pkh spending key (secp256k1 secret key)
pub fn is_compressed(&self) -> bool
[src]
Returns true
if the p2pkh spending key is in compressed form.
Trait Implementations
impl<N: Clone + ZcashNetwork> Clone for P2PKHSpendingKey<N>
[src]
fn clone(&self) -> P2PKHSpendingKey<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Debug + ZcashNetwork> Debug for P2PKHSpendingKey<N>
[src]
impl<N: ZcashNetwork> Display for P2PKHSpendingKey<N>
[src]
impl<N: Eq + ZcashNetwork> Eq for P2PKHSpendingKey<N>
[src]
impl<N: Ord + ZcashNetwork> Ord for P2PKHSpendingKey<N>
[src]
fn cmp(&self, other: &P2PKHSpendingKey<N>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<N: PartialEq + ZcashNetwork> PartialEq<P2PKHSpendingKey<N>> for P2PKHSpendingKey<N>
[src]
fn eq(&self, other: &P2PKHSpendingKey<N>) -> bool
[src]
fn ne(&self, other: &P2PKHSpendingKey<N>) -> bool
[src]
impl<N: PartialOrd + ZcashNetwork> PartialOrd<P2PKHSpendingKey<N>> for P2PKHSpendingKey<N>
[src]
fn partial_cmp(&self, other: &P2PKHSpendingKey<N>) -> Option<Ordering>
[src]
fn lt(&self, other: &P2PKHSpendingKey<N>) -> bool
[src]
fn le(&self, other: &P2PKHSpendingKey<N>) -> bool
[src]
fn gt(&self, other: &P2PKHSpendingKey<N>) -> bool
[src]
fn ge(&self, other: &P2PKHSpendingKey<N>) -> bool
[src]
impl<N: ZcashNetwork> StructuralEq for P2PKHSpendingKey<N>
[src]
impl<N: ZcashNetwork> StructuralPartialEq for P2PKHSpendingKey<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for P2PKHSpendingKey<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for P2PKHSpendingKey<N>
impl<N> Sync for P2PKHSpendingKey<N>
impl<N> Unpin for P2PKHSpendingKey<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for P2PKHSpendingKey<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,