[−][src]Enum bitcoincore_rpc_json::PubKeyOrAddress
Used to represent arguments that can either be an address or a public key.
Variants
Address(&'a Address)
PubKey(&'a PublicKey)
Trait Implementations
impl<'a> Clone for PubKeyOrAddress<'a>
[src]
fn clone(&self) -> PubKeyOrAddress<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for PubKeyOrAddress<'a>
[src]
impl<'a> Eq for PubKeyOrAddress<'a>
[src]
impl<'a> Ord for PubKeyOrAddress<'a>
[src]
fn cmp(&self, other: &PubKeyOrAddress<'a>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a> PartialEq<PubKeyOrAddress<'a>> for PubKeyOrAddress<'a>
[src]
fn eq(&self, other: &PubKeyOrAddress<'a>) -> bool
[src]
fn ne(&self, other: &PubKeyOrAddress<'a>) -> bool
[src]
impl<'a> PartialOrd<PubKeyOrAddress<'a>> for PubKeyOrAddress<'a>
[src]
fn partial_cmp(&self, other: &PubKeyOrAddress<'a>) -> Option<Ordering>
[src]
fn lt(&self, other: &PubKeyOrAddress<'a>) -> bool
[src]
fn le(&self, other: &PubKeyOrAddress<'a>) -> bool
[src]
fn gt(&self, other: &PubKeyOrAddress<'a>) -> bool
[src]
fn ge(&self, other: &PubKeyOrAddress<'a>) -> bool
[src]
impl<'a> Serialize for PubKeyOrAddress<'a>
[src]
impl<'a> StructuralEq for PubKeyOrAddress<'a>
[src]
impl<'a> StructuralPartialEq for PubKeyOrAddress<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for PubKeyOrAddress<'a>
[src]
impl<'a> Send for PubKeyOrAddress<'a>
[src]
impl<'a> Sync for PubKeyOrAddress<'a>
[src]
impl<'a> Unpin for PubKeyOrAddress<'a>
[src]
impl<'a> UnwindSafe for PubKeyOrAddress<'a>
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,