pub struct RawResponse {
pub status: String,
pub data: Option<Value>,
pub message: String,
pub error_type: Option<String>,
}
Expand description
Raw response for backward compatibility and debugging
Fields§
§status: String
Response status
data: Option<Value>
Raw JSON data
message: String
Response message
error_type: Option<String>
Error type
Trait Implementations§
Source§impl Clone for RawResponse
impl Clone for RawResponse
Source§fn clone(&self) -> RawResponse
fn clone(&self) -> RawResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RawResponse
impl Debug for RawResponse
Source§impl<'de> Deserialize<'de> for RawResponse
impl<'de> Deserialize<'de> for RawResponse
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
Source§impl From<RawResponse> for KiteResponse<Value>
impl From<RawResponse> for KiteResponse<Value>
Source§fn from(raw: RawResponse) -> Self
fn from(raw: RawResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawResponse
impl RefUnwindSafe for RawResponse
impl Send for RawResponse
impl Sync for RawResponse
impl Unpin for RawResponse
impl UnwindSafe for RawResponse
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