pub struct ScanBlocksResponse {
pub completed: bool,
pub current_height: u64,
pub field_0: (),
pub from_height: u64,
pub progress: u64,
pub relevant_blocks: Value,
pub success: bool,
pub to_height: u64,
}Expand description
Response for the ScanBlocks RPC method
Fields§
§completed: booltrue if the scan process was not aborted
current_height: u64Height of the block currently being scanned
field_0: ()§from_height: u64The height we started the scan from
progress: u64Approximate percent complete
relevant_blocks: ValueBlocks that may have matched a scanobject.
success: boolTrue if scan will be aborted (not necessarily before this RPC returns), or false if there is no scan to abort
to_height: u64The height we ended the scan at
Trait Implementations§
Source§impl Clone for ScanBlocksResponse
impl Clone for ScanBlocksResponse
Source§fn clone(&self) -> ScanBlocksResponse
fn clone(&self) -> ScanBlocksResponse
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 ScanBlocksResponse
impl Debug for ScanBlocksResponse
Source§impl<'de> Deserialize<'de> for ScanBlocksResponse
impl<'de> Deserialize<'de> for ScanBlocksResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScanBlocksResponse
impl PartialEq for ScanBlocksResponse
Source§impl Serialize for ScanBlocksResponse
impl Serialize for ScanBlocksResponse
impl StructuralPartialEq for ScanBlocksResponse
Auto Trait Implementations§
impl Freeze for ScanBlocksResponse
impl RefUnwindSafe for ScanBlocksResponse
impl Send for ScanBlocksResponse
impl Sync for ScanBlocksResponse
impl Unpin for ScanBlocksResponse
impl UnwindSafe for ScanBlocksResponse
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