pub struct Builder {
pub proxy: Option<String>,
pub timeout: Option<u64>,
}Fields§
§proxy: Option<String>Optional URL of the proxy to use to make requests to the LNURL server
The string should be formatted as: <protocol>://<user>:<password>@host:<port>.
Note that the format of this value and the supported protocols change slightly between the
blocking version of the client (using ureq) and the async version (using reqwest). For more
details check with the documentation of the two crates. Both of them are compiled with
the socks feature enabled.
The proxy is ignored when targeting wasm32.
timeout: Option<u64>Socket timeout.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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