pub struct UpstreamConfig {
pub prefix: String,
pub url: String,
pub timeout_ms: u64,
pub headers_env: Vec<(String, String)>,
}Fields§
§prefix: String§url: String§timeout_ms: u64§headers_env: Vec<(String, String)>(header, environment variable holding its value).
Trait Implementations§
Source§impl Clone for UpstreamConfig
impl Clone for UpstreamConfig
Source§impl Debug for UpstreamConfig
impl Debug for UpstreamConfig
Source§impl Default for UpstreamConfig
impl Default for UpstreamConfig
Source§impl PartialEq for UpstreamConfig
impl PartialEq for UpstreamConfig
impl StructuralPartialEq for UpstreamConfig
Auto Trait Implementations§
impl Freeze for UpstreamConfig
impl RefUnwindSafe for UpstreamConfig
impl Send for UpstreamConfig
impl Sync for UpstreamConfig
impl Unpin for UpstreamConfig
impl UnsafeUnpin for UpstreamConfig
impl UnwindSafe for UpstreamConfig
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