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: StringThe response body from the destination endpoint to Stripe.
headers: Vec<ForwardedRequestHeader>HTTP headers that the destination endpoint returned.
status: i64The 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 (const: unstable) · 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
impl Eq for ForwardedResponseDetails
Source§impl FromValueOpt for ForwardedResponseDetails
impl FromValueOpt for ForwardedResponseDetails
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for ForwardedResponseDetails
impl PartialEq for ForwardedResponseDetails
impl StructuralPartialEq for ForwardedResponseDetails
Auto Trait Implementations§
impl Freeze for ForwardedResponseDetails
impl RefUnwindSafe for ForwardedResponseDetails
impl Send for ForwardedResponseDetails
impl Sync for ForwardedResponseDetails
impl Unpin for ForwardedResponseDetails
impl UnsafeUnpin 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