pub struct WafSession {
pub cookies: Vec<Cookie>,
pub headers: HashMap<String, String>,
}Expand description
WAF session data containing cookies and headers
Fields§
Extracted cookies
headers: HashMap<String, String>Extracted headers (cleaned)
Implementations§
Trait Implementations§
Source§impl Clone for WafSession
impl Clone for WafSession
Source§fn clone(&self) -> WafSession
fn clone(&self) -> WafSession
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 WafSession
impl Debug for WafSession
Source§impl<'de> Deserialize<'de> for WafSession
impl<'de> Deserialize<'de> for WafSession
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
Auto Trait Implementations§
impl Freeze for WafSession
impl RefUnwindSafe for WafSession
impl Send for WafSession
impl Sync for WafSession
impl Unpin for WafSession
impl UnsafeUnpin for WafSession
impl UnwindSafe for WafSession
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