pub struct AuthMaterial<'a> {
pub authorization: Option<&'a str>,
pub query: &'a str,
pub has_date_header: bool,
}Expand description
The auth material one request carries, lifted out of whatever transport delivered it.
Fields§
The Authorization header, if present.
query: &'a strThe raw query string, without a leading ?. Empty when there is none.
has_date_header: boolWhether the request carried an X-Amz-Date or a Date header.
Trait Implementations§
Source§impl<'a> Clone for AuthMaterial<'a>
impl<'a> Clone for AuthMaterial<'a>
impl<'a> Copy for AuthMaterial<'a>
Source§impl<'a> Debug for AuthMaterial<'a>
impl<'a> Debug for AuthMaterial<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthMaterial<'a>
impl<'a> RefUnwindSafe for AuthMaterial<'a>
impl<'a> Send for AuthMaterial<'a>
impl<'a> Sync for AuthMaterial<'a>
impl<'a> Unpin for AuthMaterial<'a>
impl<'a> UnsafeUnpin for AuthMaterial<'a>
impl<'a> UnwindSafe for AuthMaterial<'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