pub struct ProviderAuthRequest<'a> {
pub method: &'a str,
pub url: &'a str,
pub headers: &'a [(String, String)],
pub body: &'a [u8],
}Expand description
Immutable request material available to an authentication implementation.
body is the exact serialized payload. This makes the contract suitable
for request signatures such as AWS SigV4 as well as ordinary header auth.
Fields§
§method: &'a str§url: &'a str§headers: &'a [(String, String)]§body: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for ProviderAuthRequest<'a>
impl<'a> RefUnwindSafe for ProviderAuthRequest<'a>
impl<'a> Send for ProviderAuthRequest<'a>
impl<'a> Sync for ProviderAuthRequest<'a>
impl<'a> Unpin for ProviderAuthRequest<'a>
impl<'a> UnsafeUnpin for ProviderAuthRequest<'a>
impl<'a> UnwindSafe for ProviderAuthRequest<'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