pub struct HttpContext {
pub headers: Option<HashMap<String, String>>,
pub query_string: Option<String>,
}Expand description
Specifies the HTTP context to use for the test authorizer request.
Fields§
§headers: Option<HashMap<String, String>>The header keys and values in an HTTP authorization request.
query_string: Option<String>The query string keys and values in an HTTP authorization request.
Trait Implementations§
Source§impl Clone for HttpContext
impl Clone for HttpContext
Source§fn clone(&self) -> HttpContext
fn clone(&self) -> HttpContext
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 moreSource§impl Debug for HttpContext
impl Debug for HttpContext
Source§impl Default for HttpContext
impl Default for HttpContext
Source§fn default() -> HttpContext
fn default() -> HttpContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for HttpContext
impl PartialEq for HttpContext
Source§impl Serialize for HttpContext
impl Serialize for HttpContext
impl StructuralPartialEq for HttpContext
Auto Trait Implementations§
impl Freeze for HttpContext
impl RefUnwindSafe for HttpContext
impl Send for HttpContext
impl Sync for HttpContext
impl Unpin for HttpContext
impl UnwindSafe for HttpContext
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