pub struct Options {
pub allow_http: bool,
pub timeout: u64,
pub headers: HashMap<String, String>,
pub friendbot_url: Option<String>,
}
Expand description
Additionnal options
Fields§
§allow_http: bool
If true, using a non HTTPS RPC will not throw an error
timeout: u64
Timeout in seconds (default: 10)
headers: HashMap<String, String>
Additionnal headers to use while requesting the RPC
friendbot_url: Option<String>
Optional friendbot URL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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