pub struct ApiCallData {
pub status: u16,
pub data: Box<RawValue>,
}Expand description
The gateway’s answer: HTTP status plus the body VERBATIM
(serde_json::value::RawValue — bytes preserved, key order
kept, still valid JSON; serializes inline inside the envelope).
Fields§
§status: u16The HTTP status the gateway answered with.
data: Box<RawValue>The response body VERBATIM.
Trait Implementations§
Source§impl Clone for ApiCallData
impl Clone for ApiCallData
Source§fn clone(&self) -> ApiCallData
fn clone(&self) -> ApiCallData
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 ApiCallData
impl Debug for ApiCallData
Source§impl<'de> Deserialize<'de> for ApiCallData
impl<'de> Deserialize<'de> for ApiCallData
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 ApiCallData
impl RefUnwindSafe for ApiCallData
impl Send for ApiCallData
impl Sync for ApiCallData
impl Unpin for ApiCallData
impl UnsafeUnpin for ApiCallData
impl UnwindSafe for ApiCallData
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