pub struct ImportVtxoArgs {
pub gap_limit: Option<u32>,
pub skip_status_check: bool,
pub allow_partial: bool,
}Expand description
Arguments for Wallet::import_vtxos.
Fields§
§gap_limit: Option<u32>Gap limit for the key scan that decides whether we own the VTXOs,
overriding crate::Config::vtxo_key_gap_limit.
Default: none
skip_status_check: boolImport as spendable without asking the server for each VTXO’s state. Skipping it can leave the wallet with spent VTXOs incorrectly marked as spendable.
Default: false
allow_partial: boolKeep the VTXOs that import successfully even when another one in the batch fails. The returned ids are the ones that were kept.
Default: false, so a single failure discards the whole batch.
Trait Implementations§
Source§impl Clone for ImportVtxoArgs
impl Clone for ImportVtxoArgs
Source§fn clone(&self) -> ImportVtxoArgs
fn clone(&self) -> ImportVtxoArgs
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 ImportVtxoArgs
impl Debug for ImportVtxoArgs
Source§impl Default for ImportVtxoArgs
impl Default for ImportVtxoArgs
Source§fn default() -> ImportVtxoArgs
fn default() -> ImportVtxoArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportVtxoArgs
impl RefUnwindSafe for ImportVtxoArgs
impl Send for ImportVtxoArgs
impl Sync for ImportVtxoArgs
impl Unpin for ImportVtxoArgs
impl UnsafeUnpin for ImportVtxoArgs
impl UnwindSafe for ImportVtxoArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request