pub struct AuthDef {
pub method: AuthMethod,
pub data: String,
}
Fields§
§method: AuthMethod
§data: String
Base64 encoded digest.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AuthDef
impl<'de> Deserialize<'de> for AuthDef
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AuthDef
impl PartialEq for AuthDef
impl Eq for AuthDef
impl StructuralEq for AuthDef
impl StructuralPartialEq for AuthDef
Auto Trait Implementations§
impl RefUnwindSafe for AuthDef
impl Send for AuthDef
impl Sync for AuthDef
impl Unpin for AuthDef
impl UnwindSafe for AuthDef
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