pub struct HttpInV1 {
pub method: String,
pub path: String,
pub query: Option<String>,
pub headers: Vec<Header>,
pub body_b64: String,
pub route_hint: Option<String>,
pub binding_id: Option<String>,
pub config: Option<Value>,
}Expand description
Normalized HTTP ingress payload (v1).
Fields§
§method: StringHTTP method.
path: StringRequest path.
query: Option<String>Optional raw query string.
headers: Vec<Header>Request headers.
body_b64: StringBase64-encoded request body.
route_hint: Option<String>Optional route hint for dispatching.
binding_id: Option<String>Optional binding identifier for routing.
config: Option<Value>Optional provider configuration payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HttpInV1
impl<'de> Deserialize<'de> for HttpInV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for HttpInV1
Auto Trait Implementations§
impl Freeze for HttpInV1
impl RefUnwindSafe for HttpInV1
impl Send for HttpInV1
impl Sync for HttpInV1
impl Unpin for HttpInV1
impl UnsafeUnpin for HttpInV1
impl UnwindSafe for HttpInV1
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