pub struct ForwardedResponseDetails {
pub body: String,
pub headers: Vec<ForwardedRequestHeader>,
pub status: i64,
}
Expand description
Details about the response from the destination endpoint.
Fields§
§body: String
The response body from the destination endpoint to Stripe.
headers: Vec<ForwardedRequestHeader>
HTTP headers that the destination endpoint returned.
status: i64
The HTTP status code that the destination endpoint returned.
Trait Implementations§
Source§impl Clone for ForwardedResponseDetails
impl Clone for ForwardedResponseDetails
Source§fn clone(&self) -> ForwardedResponseDetails
fn clone(&self) -> ForwardedResponseDetails
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 ForwardedResponseDetails
impl Debug for ForwardedResponseDetails
Source§impl FromValueOpt for ForwardedResponseDetails
impl FromValueOpt for ForwardedResponseDetails
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for ForwardedResponseDetails
impl RefUnwindSafe for ForwardedResponseDetails
impl Send for ForwardedResponseDetails
impl Sync for ForwardedResponseDetails
impl Unpin for ForwardedResponseDetails
impl UnwindSafe for ForwardedResponseDetails
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