pub struct Headers {Show 26 fields
pub date: String,
pub content_type: String,
pub transfer_encoding: String,
pub connection: String,
pub server: String,
pub vary: String,
pub x_okta_request_id: String,
pub x_xss_protection: String,
pub p3p: String,
pub set_cookie: Vec<String>,
pub content_security_policy_report_only: String,
pub content_security_policy: String,
pub x_rate_limit_limit: String,
pub x_rate_limit_remaining: String,
pub x_rate_limit_reset: String,
pub referrer_policy: String,
pub accept_ch: String,
pub cache_control: String,
pub pragma: String,
pub expires: String,
pub x_frame_options: String,
pub x_content_type_options: String,
pub x_ua_compatible: String,
pub content_language: String,
pub strict_transport_security: String,
pub x_robots_tag: String,
}
Fields§
§date: String
§content_type: String
§transfer_encoding: String
§connection: String
§server: String
§vary: String
§x_okta_request_id: String
§x_xss_protection: String
§p3p: String
§content_security_policy_report_only: String
§content_security_policy: String
§x_rate_limit_limit: String
§x_rate_limit_remaining: String
§x_rate_limit_reset: String
§referrer_policy: String
§accept_ch: String
§cache_control: String
§pragma: String
§expires: String
§x_frame_options: String
§x_content_type_options: String
§x_ua_compatible: String
§content_language: String
§strict_transport_security: String
§x_robots_tag: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Headers
impl<'de> Deserialize<'de> for Headers
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
impl StructuralPartialEq for Headers
Auto Trait Implementations§
impl Freeze for Headers
impl RefUnwindSafe for Headers
impl Send for Headers
impl Sync for Headers
impl Unpin for Headers
impl UnwindSafe for Headers
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