Struct bitcoincore_rpc_json::ImportMultiRequest
source · [−]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>,
}
Expand description
A import request for importmulti.
Note: unlike in bitcoind, timestamp
defaults to 0.
Fields
timestamp: ImportMultiRescanSince
descriptor: 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
sourceimpl<'a> Clone for ImportMultiRequest<'a>
impl<'a> Clone for ImportMultiRequest<'a>
sourcefn clone(&self) -> ImportMultiRequest<'a>
fn clone(&self) -> ImportMultiRequest<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ImportMultiRequest<'a>
impl<'a> Debug for ImportMultiRequest<'a>
sourceimpl<'a> Default for ImportMultiRequest<'a>
impl<'a> Default for ImportMultiRequest<'a>
sourcefn default() -> ImportMultiRequest<'a>
fn default() -> ImportMultiRequest<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> PartialEq<ImportMultiRequest<'a>> for ImportMultiRequest<'a>
impl<'a> PartialEq<ImportMultiRequest<'a>> for ImportMultiRequest<'a>
sourcefn eq(&self, other: &ImportMultiRequest<'a>) -> bool
fn eq(&self, other: &ImportMultiRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl<'a> Serialize for ImportMultiRequest<'a>
impl<'a> Serialize for ImportMultiRequest<'a>
impl<'a> Eq for ImportMultiRequest<'a>
impl<'a> StructuralEq for ImportMultiRequest<'a>
impl<'a> StructuralPartialEq for ImportMultiRequest<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImportMultiRequest<'a>
impl<'a> Send for ImportMultiRequest<'a>
impl<'a> Sync for ImportMultiRequest<'a>
impl<'a> Unpin for ImportMultiRequest<'a>
impl<'a> UnwindSafe for ImportMultiRequest<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more