pub enum AuthRequested {
No,
Yes,
Kind(AuthKind),
}Expand description
Whether (and how) to wire the service to the auth provider.
Variants§
No
Yes
Use the service’s first declared auth kind (the --auth rule).
Kind(AuthKind)
A specific kind, e.g. chosen at an interactive prompt.
Trait Implementations§
Source§impl Clone for AuthRequested
impl Clone for AuthRequested
Source§fn clone(&self) -> AuthRequested
fn clone(&self) -> AuthRequested
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 moreSource§impl Debug for AuthRequested
impl Debug for AuthRequested
Source§impl Default for AuthRequested
impl Default for AuthRequested
Source§fn default() -> AuthRequested
fn default() -> AuthRequested
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthRequested
impl<'de> Deserialize<'de> for AuthRequested
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AuthRequested> for AuthRequested
impl From<AuthRequested> for AuthRequested
Source§fn from(a: AuthRequested) -> Self
fn from(a: AuthRequested) -> Self
Converts to this type from the input type.
Source§impl From<AuthRequested> for AuthRequested
impl From<AuthRequested> for AuthRequested
Source§fn from(a: AuthRequested) -> Self
fn from(a: AuthRequested) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthRequested
impl RefUnwindSafe for AuthRequested
impl Send for AuthRequested
impl Sync for AuthRequested
impl Unpin for AuthRequested
impl UnsafeUnpin for AuthRequested
impl UnwindSafe for AuthRequested
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