Struct wallet::AddressCompat [−][src]
pub struct AddressCompat { pub inner: AddressPayload, pub testnet: bool, }
See also bitcoin::Address
as a non-copy alternative supporting
future witness program versions
Fields
inner: AddressPayload
testnet: bool
Implementations
impl AddressCompat
[src]
impl AddressCompat
[src]pub fn from_script(script: &Script, network: Network) -> Option<Self>
[src]
Trait Implementations
impl Clone for AddressCompat
[src]
impl Clone for AddressCompat
[src]fn clone(&self) -> AddressCompat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AddressCompat
[src]
impl Copy for AddressCompat
[src]impl Eq for AddressCompat
[src]
impl Eq for AddressCompat
[src]impl From<AddressCompat> for PubkeyScript
[src]
impl From<AddressCompat> for PubkeyScript
[src]fn from(payload: AddressCompat) -> Self
[src]
impl FromStr for AddressCompat
[src]
impl FromStr for AddressCompat
[src]impl Hash for AddressCompat
[src]
impl Hash for AddressCompat
[src]impl Ord for AddressCompat
[src]
impl Ord for AddressCompat
[src]impl PartialEq<AddressCompat> for AddressCompat
[src]
impl PartialEq<AddressCompat> for AddressCompat
[src]fn eq(&self, other: &AddressCompat) -> bool
[src]
fn ne(&self, other: &AddressCompat) -> bool
[src]
impl PartialOrd<AddressCompat> for AddressCompat
[src]
impl PartialOrd<AddressCompat> for AddressCompat
[src]fn partial_cmp(&self, other: &AddressCompat) -> 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 StrictDecode for AddressCompat
[src]
impl StrictDecode for AddressCompat
[src]impl StrictEncode for AddressCompat
[src]
impl StrictEncode for AddressCompat
[src]impl StructuralEq for AddressCompat
[src]
impl StructuralEq for AddressCompat
[src]impl StructuralPartialEq for AddressCompat
[src]
impl StructuralPartialEq for AddressCompat
[src]Auto Trait Implementations
impl RefUnwindSafe for AddressCompat
impl RefUnwindSafe for AddressCompat
impl Send for AddressCompat
impl Send for AddressCompat
impl Sync for AddressCompat
impl Sync for AddressCompat
impl Unpin for AddressCompat
impl Unpin for AddressCompat
impl UnwindSafe for AddressCompat
impl UnwindSafe for AddressCompat