[][src]Struct bitcoincore_rpc_json::GetAddressInfoResult

pub struct GetAddressInfoResult {
    pub address: Address,
    pub script_pub_key: Script,
    pub is_mine: Option<bool>,
    pub is_watchonly: Option<bool>,
    pub is_script: Option<bool>,
    pub is_witness: Option<bool>,
    pub witness_version: Option<u32>,
    pub witness_program: Option<Vec<u8>>,
    pub script: Option<ScriptPubkeyType>,
    pub hex: Option<Vec<u8>>,
    pub pubkeys: Option<Vec<PublicKey>>,
    pub n_signatures_required: Option<usize>,
    pub pubkey: Option<PublicKey>,
    pub embedded: Option<GetAddressInfoResultEmbedded>,
    pub is_compressed: Option<bool>,
    pub timestamp: Option<u64>,
    pub hd_key_path: Option<DerivationPath>,
    pub hd_seed_id: Option<XpubIdentifier>,
    pub labels: Vec<GetAddressInfoResultLabel>,
    pub label: Option<String>,


address: Addressscript_pub_key: Scriptis_mine: Option<bool>is_watchonly: Option<bool>is_script: Option<bool>is_witness: Option<bool>witness_version: Option<u32>witness_program: Option<Vec<u8>>script: Option<ScriptPubkeyType>hex: Option<Vec<u8>>

The redeemscript for the p2sh address.

pubkeys: Option<Vec<PublicKey>>n_signatures_required: Option<usize>pubkey: Option<PublicKey>embedded: Option<GetAddressInfoResultEmbedded>

Information about the address embedded in P2SH or P2WSH, if relevant and known.

is_compressed: Option<bool>timestamp: Option<u64>hd_key_path: Option<DerivationPath>hd_seed_id: Option<XpubIdentifier>labels: Vec<GetAddressInfoResultLabel>label: Option<String>
👎 Deprecated:

since Core v0.20.0

Deprecated in v0.20.0. See labels field instead.

Trait Implementations

impl Clone for GetAddressInfoResult[src]

impl Debug for GetAddressInfoResult[src]

impl<'de> Deserialize<'de> for GetAddressInfoResult[src]

impl Eq for GetAddressInfoResult[src]

impl PartialEq<GetAddressInfoResult> for GetAddressInfoResult[src]

impl Serialize for GetAddressInfoResult[src]

impl StructuralEq for GetAddressInfoResult[src]

impl StructuralPartialEq for GetAddressInfoResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.