[][src]Struct bitcoincore_rpc_json::ImportMultiRequest

pub struct ImportMultiRequest<'a> {
    pub timestamp: ImportMultiRescanSince,
    pub descriptor: Option<&'a str>,
    pub script_pubkey: Option<ImportMultiRequestScriptPubkey<'a>>,
    pub redeem_script: Option<&'a Script>,
    pub witness_script: Option<&'a Script>,
    pub pubkeys: &'a [PublicKey],
    pub keys: &'a [PrivateKey],
    pub range: Option<(usize, usize)>,
    pub internal: Option<bool>,
    pub watchonly: Option<bool>,
    pub label: Option<&'a str>,
    pub keypool: Option<bool>,

A import request for importmulti.

Note: unlike in bitcoind, timestamp defaults to 0.


timestamp: ImportMultiRescanSincedescriptor: Option<&'a str>

If using descriptor, do not also provide address/scriptPubKey, scripts, or pubkeys.

script_pubkey: Option<ImportMultiRequestScriptPubkey<'a>>redeem_script: Option<&'a Script>witness_script: Option<&'a Script>pubkeys: &'a [PublicKey]keys: &'a [PrivateKey]range: Option<(usize, usize)>internal: Option<bool>watchonly: Option<bool>label: Option<&'a str>keypool: Option<bool>

Trait Implementations

impl<'a> Clone for ImportMultiRequest<'a>[src]

impl<'a> Debug for ImportMultiRequest<'a>[src]

impl<'a> Default for ImportMultiRequest<'a>[src]

impl<'a> Eq for ImportMultiRequest<'a>[src]

impl<'a> PartialEq<ImportMultiRequest<'a>> for ImportMultiRequest<'a>[src]

impl<'a> Serialize for ImportMultiRequest<'a>[src]

impl<'a> StructuralEq for ImportMultiRequest<'a>[src]

impl<'a> StructuralPartialEq for ImportMultiRequest<'a>[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> 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.