pub struct ScanPolicy {
pub account_gap_limit: u32,
pub address_scan_depth: u32,
}Expand description
Controls for address discovery and sync behavior.
Fields§
§account_gap_limit: u32Number of consecutive unused addresses to skip before stopping scan.
address_scan_depth: u32Constant number of addresses to scan regardless of activity.
Trait Implementations§
Source§impl Clone for ScanPolicy
impl Clone for ScanPolicy
Source§fn clone(&self) -> ScanPolicy
fn clone(&self) -> ScanPolicy
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 ScanPolicy
impl Debug for ScanPolicy
Source§impl Default for ScanPolicy
impl Default for ScanPolicy
Source§impl<'de> Deserialize<'de> for ScanPolicy
impl<'de> Deserialize<'de> for ScanPolicy
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 ScanPolicy
impl PartialEq for ScanPolicy
Source§fn eq(&self, other: &ScanPolicy) -> bool
fn eq(&self, other: &ScanPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScanPolicy
impl Serialize for ScanPolicy
impl Copy for ScanPolicy
impl Eq for ScanPolicy
impl StructuralPartialEq for ScanPolicy
Auto Trait Implementations§
impl Freeze for ScanPolicy
impl RefUnwindSafe for ScanPolicy
impl Send for ScanPolicy
impl Sync for ScanPolicy
impl Unpin for ScanPolicy
impl UnsafeUnpin for ScanPolicy
impl UnwindSafe for ScanPolicy
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