pub struct ImportDescriptorsRequest {
pub desc: String,
pub active: Option<bool>,
pub range: Option<(usize, usize)>,
pub next_index: Option<usize>,
pub timestamp: u64,
pub internal: Option<bool>,
pub label: Option<String>,
}Expand description
Request of importdescriptors.
Fields§
§desc: String(required) Descriptor to import.
active: Option<bool>Set this descriptor to be the active descriptor for the corresponding output type.
range: Option<(usize, usize)>If a ranged descriptor is used, this specifies the range (in the form [begin,end]) to import.
next_index: Option<usize>The next index from which to generate addresses.
timestamp: u64(required) Time from which to start rescanning the blockchain for this descriptor, in UNIX epoch time.
internal: Option<bool>Whether matching outputs should be treated as not incoming payments (e.g. change).
label: Option<String>Label to assign to the address, only allowed with internal = false. Disabled for ranged descriptors.
Trait Implementations§
Source§impl Clone for ImportDescriptorsRequest
impl Clone for ImportDescriptorsRequest
Source§fn clone(&self) -> ImportDescriptorsRequest
fn clone(&self) -> ImportDescriptorsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImportDescriptorsRequest
impl Debug for ImportDescriptorsRequest
Source§impl Default for ImportDescriptorsRequest
impl Default for ImportDescriptorsRequest
Source§fn default() -> ImportDescriptorsRequest
fn default() -> ImportDescriptorsRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportDescriptorsRequest
impl RefUnwindSafe for ImportDescriptorsRequest
impl Send for ImportDescriptorsRequest
impl Sync for ImportDescriptorsRequest
impl Unpin for ImportDescriptorsRequest
impl UnsafeUnpin for ImportDescriptorsRequest
impl UnwindSafe for ImportDescriptorsRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more