pub struct ElectrumConfig {
pub url: String,
pub batch_size: usize,
}Expand description
Configuration for connecting to Electrum
Fields§
§url: StringURL of the Electrum server endpoint
batch_size: usizeNumber of scripts to request in each Electrum batch
Trait Implementations§
Source§impl Clone for ElectrumConfig
impl Clone for ElectrumConfig
Source§fn clone(&self) -> ElectrumConfig
fn clone(&self) -> ElectrumConfig
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 moreAuto Trait Implementations§
impl Freeze for ElectrumConfig
impl RefUnwindSafe for ElectrumConfig
impl Send for ElectrumConfig
impl Sync for ElectrumConfig
impl Unpin for ElectrumConfig
impl UnsafeUnpin for ElectrumConfig
impl UnwindSafe for ElectrumConfig
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