pub struct HttpOutcallResponse {
pub status: u16,
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
}Fields§
§status: u16§headers: Vec<(String, String)>§body: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for HttpOutcallResponse
impl Clone for HttpOutcallResponse
Source§fn clone(&self) -> HttpOutcallResponse
fn clone(&self) -> HttpOutcallResponse
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 HttpOutcallResponse
impl Debug for HttpOutcallResponse
Source§impl<'de> Deserialize<'de> for HttpOutcallResponse
impl<'de> Deserialize<'de> for HttpOutcallResponse
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
Auto Trait Implementations§
impl Freeze for HttpOutcallResponse
impl RefUnwindSafe for HttpOutcallResponse
impl Send for HttpOutcallResponse
impl Sync for HttpOutcallResponse
impl Unpin for HttpOutcallResponse
impl UnwindSafe for HttpOutcallResponse
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