pub enum ProviderPortAuthorization {
AccessToken(String),
TrafficAccessToken(String),
Bearer(String),
}Expand description
Provider-only authentication for an application-port target.
Keeping the header scheme in the type prevents provider adapters from accidentally sending a management credential through the wrong header.
Variants§
Trait Implementations§
Source§impl Clone for ProviderPortAuthorization
impl Clone for ProviderPortAuthorization
Source§fn clone(&self) -> ProviderPortAuthorization
fn clone(&self) -> ProviderPortAuthorization
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 ProviderPortAuthorization
impl Debug for ProviderPortAuthorization
impl Eq for ProviderPortAuthorization
impl StructuralPartialEq for ProviderPortAuthorization
Auto Trait Implementations§
impl Freeze for ProviderPortAuthorization
impl RefUnwindSafe for ProviderPortAuthorization
impl Send for ProviderPortAuthorization
impl Sync for ProviderPortAuthorization
impl Unpin for ProviderPortAuthorization
impl UnsafeUnpin for ProviderPortAuthorization
impl UnwindSafe for ProviderPortAuthorization
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