pub struct UpstreamRequest<'a> {
pub url: &'a str,
pub method: &'a str,
pub headers: &'a [(String, String)],
pub body: &'a [u8],
pub provider: &'a str,
pub auth_id: &'a str,
pub auth_label: &'a str,
pub auth_type: &'a str,
pub auth_value: &'a str,
}Expand description
Go helps.UpstreamRequestLog. Credentials and bodies intentionally have no Debug implementation. The observer owns Go’s masking and formatting policy.
Fields§
§url: &'a str§method: &'a str§headers: &'a [(String, String)]§body: &'a [u8]§provider: &'a str§auth_id: &'a str§auth_label: &'a str§auth_type: &'a str§auth_value: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Forget for UpstreamRequest<'a>
impl<'a> Freeze for UpstreamRequest<'a>
impl<'a> Move for UpstreamRequest<'a>
impl<'a> RefUnwindSafe for UpstreamRequest<'a>
impl<'a> Send for UpstreamRequest<'a>
impl<'a> Sync for UpstreamRequest<'a>
impl<'a> Unpin for UpstreamRequest<'a>
impl<'a> UnsafeUnpin for UpstreamRequest<'a>
impl<'a> UnwindSafe for UpstreamRequest<'a>
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