Enum bitcoincore_rpc_json::PubKeyOrAddress [−][src]
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]
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> Ord for PubKeyOrAddress<'a>
[src]
impl<'a> Ord for PubKeyOrAddress<'a>
[src]impl<'a> PartialEq<PubKeyOrAddress<'a>> for PubKeyOrAddress<'a>
[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]
impl<'a> PartialOrd<PubKeyOrAddress<'a>> for PubKeyOrAddress<'a>
[src]fn partial_cmp(&self, other: &PubKeyOrAddress<'a>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<'a> Serialize for PubKeyOrAddress<'a>
[src]
impl<'a> Serialize for PubKeyOrAddress<'a>
[src]