Enum aws_sig_auth::signer::SigningRequirements
source · pub enum SigningRequirements {
Optional,
Required,
Disabled,
}
Variants§
Optional
A signature MAY be added if credentials are defined
Required
A signature MUST be added.
If no credentials are provided, this will return an error without dispatching the operation.
Disabled
A signature MUST NOT be added.
Trait Implementations§
source§impl Clone for SigningRequirements
impl Clone for SigningRequirements
source§fn clone(&self) -> SigningRequirements
fn clone(&self) -> SigningRequirements
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 PartialEq for SigningRequirements
impl PartialEq for SigningRequirements
source§fn eq(&self, other: &SigningRequirements) -> bool
fn eq(&self, other: &SigningRequirements) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SigningRequirements
impl Eq for SigningRequirements
impl StructuralEq for SigningRequirements
impl StructuralPartialEq for SigningRequirements
Auto Trait Implementations§
impl RefUnwindSafe for SigningRequirements
impl Send for SigningRequirements
impl Sync for SigningRequirements
impl Unpin for SigningRequirements
impl UnwindSafe for SigningRequirements
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.