pub struct ParsedHeader { /* private fields */ }Expand description
The successful result of parsing a Signature or Authorization header
Implementations§
Source§impl ParsedHeader
impl ParsedHeader
Sourcepub fn into_unvalidated(
self,
method: &str,
path_and_query: &str,
headers: &mut BTreeMap<String, String>,
required_headers: HashSet<String>,
) -> Result<Unvalidated, RequiredError>
pub fn into_unvalidated( self, method: &str, path_and_query: &str, headers: &mut BTreeMap<String, String>, required_headers: HashSet<String>, ) -> Result<Unvalidated, RequiredError>
Generate a Signing String from the header
Trait Implementations§
Source§impl Debug for ParsedHeader
impl Debug for ParsedHeader
Auto Trait Implementations§
impl Freeze for ParsedHeader
impl RefUnwindSafe for ParsedHeader
impl Send for ParsedHeader
impl Sync for ParsedHeader
impl Unpin for ParsedHeader
impl UnwindSafe for ParsedHeader
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