#[non_exhaustive]pub enum SignatureLocation {
Headers,
QueryParams,
}
Expand description
Where to place signing values in the HTTP request
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Headers
Place the signature in the request headers
QueryParams
Place the signature in the request query parameters
Trait Implementations§
Source§impl Clone for SignatureLocation
impl Clone for SignatureLocation
Source§fn clone(&self) -> SignatureLocation
fn clone(&self) -> SignatureLocation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignatureLocation
impl Debug for SignatureLocation
Source§impl PartialEq for SignatureLocation
impl PartialEq for SignatureLocation
impl Copy for SignatureLocation
impl Eq for SignatureLocation
impl StructuralPartialEq for SignatureLocation
Auto Trait Implementations§
impl Freeze for SignatureLocation
impl RefUnwindSafe for SignatureLocation
impl Send for SignatureLocation
impl Sync for SignatureLocation
impl Unpin for SignatureLocation
impl UnwindSafe for SignatureLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.