pub enum HyperClientAuth {
Bearer(String),
ServiceToken(String),
}Variants§
Trait Implementations§
Source§impl Clone for HyperClientAuth
impl Clone for HyperClientAuth
Source§fn clone(&self) -> HyperClientAuth
fn clone(&self) -> HyperClientAuth
Returns a duplicate 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 HyperClientAuth
impl Debug for HyperClientAuth
Source§impl PartialEq for HyperClientAuth
impl PartialEq for HyperClientAuth
impl Eq for HyperClientAuth
impl StructuralPartialEq for HyperClientAuth
Auto Trait Implementations§
impl Freeze for HyperClientAuth
impl RefUnwindSafe for HyperClientAuth
impl Send for HyperClientAuth
impl Sync for HyperClientAuth
impl Unpin for HyperClientAuth
impl UnsafeUnpin for HyperClientAuth
impl UnwindSafe for HyperClientAuth
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