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>
Source§fn clone(&self) -> AuthMaterial<'a>
fn clone(&self) -> AuthMaterial<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for AuthMaterial<'a>
Source§impl<'a> Debug for AuthMaterial<'a>
impl<'a> Debug for AuthMaterial<'a>
Source§impl<'a> Default for AuthMaterial<'a>
impl<'a> Default for AuthMaterial<'a>
Source§fn default() -> AuthMaterial<'a>
fn default() -> AuthMaterial<'a>
Returns the “default value” for a type. Read more
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