Enum blaze_devkit::executor::HttpAuthentication
source · pub enum HttpAuthentication {
Basic(HttpBasicAuthentication),
Bearer(HttpBearerAuthentication),
}Variants§
Basic(HttpBasicAuthentication)
Bearer(HttpBearerAuthentication)
Trait Implementations§
source§impl Clone for HttpAuthentication
impl Clone for HttpAuthentication
source§fn clone(&self) -> HttpAuthentication
fn clone(&self) -> HttpAuthentication
Returns a copy 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 HttpAuthentication
impl Debug for HttpAuthentication
source§impl<'de> Deserialize<'de> for HttpAuthentication
impl<'de> Deserialize<'de> for HttpAuthentication
source§fn deserialize<D>(
deserializer: D,
) -> Result<HttpAuthentication, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<HttpAuthentication, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for HttpAuthentication
impl Hash for HttpAuthentication
source§impl PartialEq for HttpAuthentication
impl PartialEq for HttpAuthentication
source§fn eq(&self, other: &HttpAuthentication) -> bool
fn eq(&self, other: &HttpAuthentication) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HttpAuthentication
impl Serialize for HttpAuthentication
source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for HttpAuthentication
impl StructuralPartialEq for HttpAuthentication
Auto Trait Implementations§
impl Freeze for HttpAuthentication
impl RefUnwindSafe for HttpAuthentication
impl Send for HttpAuthentication
impl Sync for HttpAuthentication
impl Unpin for HttpAuthentication
impl UnwindSafe for HttpAuthentication
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)