pub struct HttpRuntime {
pub url: String,
pub headers: IndexMap<String, String>,
pub bearer_token_env: Option<String>,
}Expand description
runtime: http settings.
Fields§
§url: String§headers: IndexMap<String, String>§bearer_token_env: Option<String>Name of a host environment variable holding a bearer token.
Trait Implementations§
Source§impl Clone for HttpRuntime
impl Clone for HttpRuntime
Source§impl Debug for HttpRuntime
impl Debug for HttpRuntime
Source§impl<'de> Deserialize<'de> for HttpRuntime
impl<'de> Deserialize<'de> for HttpRuntime
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
Source§impl PartialEq for HttpRuntime
impl PartialEq for HttpRuntime
Source§impl Serialize for HttpRuntime
impl Serialize for HttpRuntime
impl StructuralPartialEq for HttpRuntime
Auto Trait Implementations§
impl Forget for HttpRuntime
impl Freeze for HttpRuntime
impl Move for HttpRuntime
impl RefUnwindSafe for HttpRuntime
impl Send for HttpRuntime
impl Sync for HttpRuntime
impl Unpin for HttpRuntime
impl UnsafeUnpin for HttpRuntime
impl UnwindSafe for HttpRuntime
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