pub struct ScanTxOutSetStart {
pub success: bool,
pub tx_outs: u64,
pub height: u64,
pub best_block: String,
pub unspents: Vec<ScanTxOutSetUnspent>,
pub total_amount: f64,
}Expand description
Result of JSON-RPC method scantxoutset.
scantxoutset “action” ( [scanobjects,…] )
Arguments:
- action (string, required) The action to execute
- scanobjects (json array, required) Array of scan objects
Fields§
§success: boolWhether the scan was completed.
tx_outs: u64The number of unspent transaction outputs scanned.
height: u64The block height at which the scan was done.
best_block: StringThe hash of the block at the tip of the chain.
unspents: Vec<ScanTxOutSetUnspent>The unspents.
total_amount: f64The total amount of all found unspent outputs in BTC.
Implementations§
Source§impl ScanTxOutSetStart
impl ScanTxOutSetStart
Sourcepub fn into_model(self) -> Result<ScanTxOutSetStart, ScanTxOutSetError>
pub fn into_model(self) -> Result<ScanTxOutSetStart, ScanTxOutSetError>
Converts version specific type to a version nonspecific, more strongly typed type.
Trait Implementations§
Source§impl Clone for ScanTxOutSetStart
impl Clone for ScanTxOutSetStart
Source§fn clone(&self) -> ScanTxOutSetStart
fn clone(&self) -> ScanTxOutSetStart
Returns a duplicate of the value. Read more
1.0.0 · 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 ScanTxOutSetStart
impl Debug for ScanTxOutSetStart
Source§impl<'de> Deserialize<'de> for ScanTxOutSetStart
impl<'de> Deserialize<'de> for ScanTxOutSetStart
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScanTxOutSetStart, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScanTxOutSetStart, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScanTxOutSetStart
impl PartialEq for ScanTxOutSetStart
Source§impl Serialize for ScanTxOutSetStart
impl Serialize for ScanTxOutSetStart
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ScanTxOutSetStart
Auto Trait Implementations§
impl Freeze for ScanTxOutSetStart
impl RefUnwindSafe for ScanTxOutSetStart
impl Send for ScanTxOutSetStart
impl Sync for ScanTxOutSetStart
impl Unpin for ScanTxOutSetStart
impl UnsafeUnpin for ScanTxOutSetStart
impl UnwindSafe for ScanTxOutSetStart
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