pub struct Delivery {
pub id: String,
pub received_at_unix_ms: u128,
pub method: String,
pub path: String,
pub query: Option<String>,
pub headers: Vec<Header>,
pub body_bytes: Vec<u8>,
}Expand description
A decrypted delivery (the captured HTTP request).
Fields§
§id: StringDelivery id (matches the envelope id).
received_at_unix_ms: u128Server receive time, Unix milliseconds.
method: StringHTTP method of the captured request.
path: StringRequest path.
query: Option<String>Request query string, if any (without leading ?).
headers: Vec<Header>Request headers.
body_bytes: Vec<u8>Raw request body bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Delivery
impl RefUnwindSafe for Delivery
impl Send for Delivery
impl Sync for Delivery
impl Unpin for Delivery
impl UnsafeUnpin for Delivery
impl UnwindSafe for Delivery
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