Enum octorust::auth::AuthenticationConstraint
source · pub enum AuthenticationConstraint {
Unconstrained,
JWT,
}
Expand description
Controls what sort of authentication is required for this request.
Variants§
Trait Implementations§
source§impl Clone for AuthenticationConstraint
impl Clone for AuthenticationConstraint
source§fn clone(&self) -> AuthenticationConstraint
fn clone(&self) -> AuthenticationConstraint
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 AuthenticationConstraint
impl Debug for AuthenticationConstraint
source§impl PartialEq<AuthenticationConstraint> for AuthenticationConstraint
impl PartialEq<AuthenticationConstraint> for AuthenticationConstraint
source§fn eq(&self, other: &AuthenticationConstraint) -> bool
fn eq(&self, other: &AuthenticationConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AuthenticationConstraint
impl Eq for AuthenticationConstraint
impl StructuralEq for AuthenticationConstraint
impl StructuralPartialEq for AuthenticationConstraint
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticationConstraint
impl Send for AuthenticationConstraint
impl Sync for AuthenticationConstraint
impl Unpin for AuthenticationConstraint
impl UnwindSafe for AuthenticationConstraint
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.