pub struct ParentSettings {
pub url: String,
pub cookie: PathBuf,
pub wallet: Option<String>,
pub poll: u64,
pub from: u32,
}Expand description
A parent view.
Fields§
§url: Stringhttp://127.0.0.1:48332/.
The node’s cookie file.
wallet: Option<String>The peg wallet’s name, if peg-outs are to be paid from here.
poll: u64Seconds between polls.
from: u32The first parent height to scan for peg-ins.
Trait Implementations§
Source§impl Clone for ParentSettings
impl Clone for ParentSettings
Auto Trait Implementations§
impl Freeze for ParentSettings
impl RefUnwindSafe for ParentSettings
impl Send for ParentSettings
impl Sync for ParentSettings
impl Unpin for ParentSettings
impl UnsafeUnpin for ParentSettings
impl UnwindSafe for ParentSettings
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