Struct actix_web_requestid::RequestID [−][src]
pub struct RequestID(_);
The HTTP Request ID
note: must contain as String that is valid to put in HTTP Header values using base62 / base64 is a great way to sanitize the string
It can also be extracted from a request and Helper converter to be able to extract the RequestID easily in an handler
Trait Implementations
impl Debug for RequestID
[src]
impl Debug for RequestID
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for RequestID
[src]
impl Clone for RequestID
fn clone(&self) -> RequestID
[src]
fn clone(&self) -> RequestID
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for RequestID
[src]
impl PartialEq for RequestID
fn eq(&self, other: &RequestID) -> bool
[src]
fn eq(&self, other: &RequestID) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RequestID) -> bool
[src]
fn ne(&self, other: &RequestID) -> bool
This method tests for !=
.
impl<S> FromRequest<S> for RequestID
[src]
impl<S> FromRequest<S> for RequestID
type Config = ()
Configuration for conversion process
type Result = RequestID
Future that resolves to a Self
fn from_request(req: &HttpRequest<S>, _: &Self::Config) -> Self::Result
[src]
fn from_request(req: &HttpRequest<S>, _: &Self::Config) -> Self::Result
Convert request to a Self
fn extract(req: &HttpRequest<S>) -> Self::Result
[src]
fn extract(req: &HttpRequest<S>) -> Self::Result
Convert request to a Self Read more