pub struct SigningHeaders<'a> { /* private fields */ }Expand description
Canonically ordered request headers selected by provider signing policy.
Implementations§
Source§impl<'a> SigningHeaders<'a>
impl<'a> SigningHeaders<'a>
Sourcepub fn new(entries: &'a [RequestHeader<'a>]) -> Result<Self, SigningInputError>
pub fn new(entries: &'a [RequestHeader<'a>]) -> Result<Self, SigningInputError>
Requires a strictly ascending, case-insensitive header-name order.
Sourcepub const fn as_slice(self) -> &'a [RequestHeader<'a>]
pub const fn as_slice(self) -> &'a [RequestHeader<'a>]
Returns the selected canonical header sequence.
Trait Implementations§
Source§impl<'a> Clone for SigningHeaders<'a>
impl<'a> Clone for SigningHeaders<'a>
Source§fn clone(&self) -> SigningHeaders<'a>
fn clone(&self) -> SigningHeaders<'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 SigningHeaders<'a>
Auto Trait Implementations§
impl<'a> Freeze for SigningHeaders<'a>
impl<'a> RefUnwindSafe for SigningHeaders<'a>
impl<'a> Send for SigningHeaders<'a>
impl<'a> Sync for SigningHeaders<'a>
impl<'a> Unpin for SigningHeaders<'a>
impl<'a> UnsafeUnpin for SigningHeaders<'a>
impl<'a> UnwindSafe for SigningHeaders<'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