pub struct HttpBackendRequest<'a> {
pub method: &'a str,
pub path_info: Option<&'a str>,
pub path_translated: Option<&'a Path>,
pub project_root: Option<&'a Path>,
pub query_string: &'a str,
}Expand description
Environment-derived input to plan_http_backend_request.
Fields§
§method: &'a strCGI request method (GET, HEAD, or POST).
path_info: Option<&'a str>CGI PATH_INFO.
path_translated: Option<&'a Path>CGI PATH_TRANSLATED, used when GIT_PROJECT_ROOT is absent.
project_root: Option<&'a Path>Optional GIT_PROJECT_ROOT.
query_string: &'a strCGI query string without the leading ?.
Trait Implementations§
Source§impl<'a> Clone for HttpBackendRequest<'a>
impl<'a> Clone for HttpBackendRequest<'a>
Source§fn clone(&self) -> HttpBackendRequest<'a>
fn clone(&self) -> HttpBackendRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for HttpBackendRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for HttpBackendRequest<'a>
impl<'a> RefUnwindSafe for HttpBackendRequest<'a>
impl<'a> Send for HttpBackendRequest<'a>
impl<'a> Sync for HttpBackendRequest<'a>
impl<'a> Unpin for HttpBackendRequest<'a>
impl<'a> UnsafeUnpin for HttpBackendRequest<'a>
impl<'a> UnwindSafe for HttpBackendRequest<'a>
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