pub struct AuthRequest {
pub method: HttpMethod,
pub path: String,
pub headers: HashMap<String, String>,
pub body: Option<Vec<u8>>,
pub query: HashMap<String, String>,
}Expand description
Authentication request wrapper
Fields§
§method: HttpMethod§path: String§headers: HashMap<String, String>§body: Option<Vec<u8>>§query: HashMap<String, String>Implementations§
Source§impl AuthRequest
impl AuthRequest
Trait Implementations§
Source§impl Clone for AuthRequest
impl Clone for AuthRequest
Source§fn clone(&self) -> AuthRequest
fn clone(&self) -> AuthRequest
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 AuthRequest
impl RefUnwindSafe for AuthRequest
impl Send for AuthRequest
impl Sync for AuthRequest
impl Unpin for AuthRequest
impl UnwindSafe for AuthRequest
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