pub struct DataHost {
pub host: String,
pub headers_env: BTreeMap<String, String>,
}Expand description
A host url data sources may read from.
Fields§
§host: StringThe host name, exactly as in the URL.
headers_env: BTreeMap<String, String>Headers sent to this host: header name to the environment variable holding its value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataHost
impl<'de> Deserialize<'de> for DataHost
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 DataHost
impl RefUnwindSafe for DataHost
impl Send for DataHost
impl Sync for DataHost
impl Unpin for DataHost
impl UnsafeUnpin for DataHost
impl UnwindSafe for DataHost
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