pub enum TargetAuth {
Inherit,
Override(Authentication),
}Expand description
Authentication specification for a managed target.
Equality preserves the specification: inheritance and an explicit override remain distinct even when they currently resolve to the same authentication.
Variants§
Inherit
Use the shared client configuration’s authentication.
Override(Authentication)
Replace shared authentication. Unauthenticated explicitly disables it.
Trait Implementations§
Source§impl Clone for TargetAuth
impl Clone for TargetAuth
Source§impl Debug for TargetAuth
impl Debug for TargetAuth
Source§impl Default for TargetAuth
impl Default for TargetAuth
impl Eq for TargetAuth
Source§impl PartialEq for TargetAuth
impl PartialEq for TargetAuth
impl StructuralPartialEq for TargetAuth
Auto Trait Implementations§
impl Freeze for TargetAuth
impl RefUnwindSafe for TargetAuth
impl Send for TargetAuth
impl Sync for TargetAuth
impl Unpin for TargetAuth
impl UnsafeUnpin for TargetAuth
impl UnwindSafe for TargetAuth
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