pub struct AdminRequest<'a> {
pub method: &'a str,
pub path: &'a str,
pub authorization: Option<&'a str>,
pub body: &'a [u8],
pub at_ms: u64,
}Expand description
Borrowed from the HTTP parser; diagnostics never include its bearer or body.
Fields§
§method: &'a strThe parsed request method.
path: &'a strThe exact path, with no accepted query parameters.
The one Authorization header; the HTTP parser refuses duplicates.
body: &'a [u8]Empty bytes or an empty JSON object.
at_ms: u64The server’s operation time, never a caller’s body field.
Auto Trait Implementations§
impl<'a> Freeze for AdminRequest<'a>
impl<'a> RefUnwindSafe for AdminRequest<'a>
impl<'a> Send for AdminRequest<'a>
impl<'a> Sync for AdminRequest<'a>
impl<'a> Unpin for AdminRequest<'a>
impl<'a> UnsafeUnpin for AdminRequest<'a>
impl<'a> UnwindSafe for AdminRequest<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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