pub struct Headers {Show 17 fields
pub x_access_level: Option<String>,
pub x_app_limit_24hour_limit: Option<u64>,
pub x_app_limit_24hour_reset: Option<DateTime<Utc>>,
pub x_app_limit_24hour_remaining: Option<u64>,
pub x_connection_hash: Option<String>,
pub x_content_type_options: Option<String>,
pub x_frame_options: Option<String>,
pub x_rate_limit_limit: Option<u64>,
pub x_rate_limit_reset: Option<DateTime<Utc>>,
pub x_rate_limit_remaining: Option<u64>,
pub x_response_time: Option<u64>,
pub x_transaction_id: Option<String>,
pub x_user_limit_24hour_limit: Option<u64>,
pub x_user_limit_24hour_reset: Option<DateTime<Utc>>,
pub x_user_limit_24hour_remaining: Option<u64>,
pub x_xss_protection: Option<u64>,
pub extra: HashMap<String, String>,
}
Fields§
§x_access_level: Option<String>
§x_app_limit_24hour_limit: Option<u64>
§x_app_limit_24hour_reset: Option<DateTime<Utc>>
§x_app_limit_24hour_remaining: Option<u64>
§x_connection_hash: Option<String>
§x_content_type_options: Option<String>
§x_frame_options: Option<String>
§x_rate_limit_limit: Option<u64>
§x_rate_limit_reset: Option<DateTime<Utc>>
§x_rate_limit_remaining: Option<u64>
§x_response_time: Option<u64>
§x_transaction_id: Option<String>
§x_user_limit_24hour_limit: Option<u64>
§x_user_limit_24hour_reset: Option<DateTime<Utc>>
§x_user_limit_24hour_remaining: Option<u64>
§x_xss_protection: Option<u64>
§extra: HashMap<String, String>
Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more