pub struct ForwardedRequestDetails {
pub body: String,
pub headers: Vec<ForwardedRequestHeader>,
pub http_method: ForwardedRequestDetailsHttpMethod,
}
Expand description
Details about the request forwarded to the destination endpoint.
Fields§
§body: String
The body payload to send to the destination endpoint.
headers: Vec<ForwardedRequestHeader>
The headers to include in the forwarded request. Can be omitted if no additional headers (excluding Stripe-generated ones such as the Content-Type header) should be included.
http_method: ForwardedRequestDetailsHttpMethod
The HTTP method used to call the destination endpoint.
Trait Implementations§
Source§impl Clone for ForwardedRequestDetails
impl Clone for ForwardedRequestDetails
Source§fn clone(&self) -> ForwardedRequestDetails
fn clone(&self) -> ForwardedRequestDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ForwardedRequestDetails
impl Debug for ForwardedRequestDetails
Source§impl FromValueOpt for ForwardedRequestDetails
impl FromValueOpt for ForwardedRequestDetails
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for ForwardedRequestDetails
impl RefUnwindSafe for ForwardedRequestDetails
impl Send for ForwardedRequestDetails
impl Sync for ForwardedRequestDetails
impl Unpin for ForwardedRequestDetails
impl UnwindSafe for ForwardedRequestDetails
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