pub enum RemoteSecurityConfig {
BearerToken(String),
Header {
name: String,
value: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for RemoteSecurityConfig
impl Clone for RemoteSecurityConfig
Source§fn clone(&self) -> RemoteSecurityConfig
fn clone(&self) -> RemoteSecurityConfig
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 moreAuto Trait Implementations§
impl Freeze for RemoteSecurityConfig
impl RefUnwindSafe for RemoteSecurityConfig
impl Send for RemoteSecurityConfig
impl Sync for RemoteSecurityConfig
impl Unpin for RemoteSecurityConfig
impl UnwindSafe for RemoteSecurityConfig
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