pub struct HttpProviderConfig {
pub endpoint_url: String,
pub timeout_seconds: u64,
}Fields§
§endpoint_url: StringHTTP endpoint URL
timeout_seconds: u64Request timeout in seconds
Trait Implementations§
Source§impl Clone for HttpProviderConfig
impl Clone for HttpProviderConfig
Source§fn clone(&self) -> HttpProviderConfig
fn clone(&self) -> HttpProviderConfig
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 HttpProviderConfig
impl Debug for HttpProviderConfig
Source§impl<'de> Deserialize<'de> for HttpProviderConfig
impl<'de> Deserialize<'de> for HttpProviderConfig
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
Auto Trait Implementations§
impl Freeze for HttpProviderConfig
impl RefUnwindSafe for HttpProviderConfig
impl Send for HttpProviderConfig
impl Sync for HttpProviderConfig
impl Unpin for HttpProviderConfig
impl UnsafeUnpin for HttpProviderConfig
impl UnwindSafe for HttpProviderConfig
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