pub struct CreateForwardingRequestRequest {
pub body: Option<String>,
pub headers: Option<Vec<CreateForwardingRequestRequestHeaders>>,
}
Expand description
The request body and headers to be sent to the destination endpoint.
Fields§
§body: Option<String>
The body payload to send to the destination endpoint.
headers: Option<Vec<CreateForwardingRequestRequestHeaders>>
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.
Implementations§
Trait Implementations§
Source§impl Clone for CreateForwardingRequestRequest
impl Clone for CreateForwardingRequestRequest
Source§fn clone(&self) -> CreateForwardingRequestRequest
fn clone(&self) -> CreateForwardingRequestRequest
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 moreAuto Trait Implementations§
impl Freeze for CreateForwardingRequestRequest
impl RefUnwindSafe for CreateForwardingRequestRequest
impl Send for CreateForwardingRequestRequest
impl Sync for CreateForwardingRequestRequest
impl Unpin for CreateForwardingRequestRequest
impl UnwindSafe for CreateForwardingRequestRequest
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