pub enum SinglePubKey {
FullKey(PublicKey),
XOnly(XOnlyPublicKey),
}Expand description
Single public key without any origin or range information
Variants§
Trait Implementations§
Source§impl Clone for SinglePubKey
impl Clone for SinglePubKey
Source§impl Debug for SinglePubKey
impl Debug for SinglePubKey
impl Eq for SinglePubKey
Source§impl Hash for SinglePubKey
impl Hash for SinglePubKey
Source§impl Ord for SinglePubKey
impl Ord for SinglePubKey
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 SinglePubKey
impl PartialEq for SinglePubKey
Source§impl PartialOrd for SinglePubKey
impl PartialOrd for SinglePubKey
impl StructuralPartialEq for SinglePubKey
Auto Trait Implementations§
impl Freeze for SinglePubKey
impl RefUnwindSafe for SinglePubKey
impl Send for SinglePubKey
impl Sync for SinglePubKey
impl Unpin for SinglePubKey
impl UnsafeUnpin for SinglePubKey
impl UnwindSafe for SinglePubKey
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