Struct basket::ApiResponse
source · Fields§
§status: Status
§data: Value
Trait Implementations§
source§impl Debug for ApiResponse
impl Debug for ApiResponse
source§impl<'de> Deserialize<'de> for ApiResponse
impl<'de> Deserialize<'de> for ApiResponse
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 Display for ApiResponse
impl Display for ApiResponse
source§impl Error for ApiResponse
impl Error for ApiResponse
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ApiResponse> for BasketError
impl From<ApiResponse> for BasketError
source§fn from(source: ApiResponse) -> Self
fn from(source: ApiResponse) -> Self
Converts to this type from the input type.