pub struct ResultResponse<T> {
pub result: Option<T>,
pub error: Option<String>,
pub success: bool,
pub req_id: i64,
pub time_in: String,
pub time_out: String,
}
Fields§
§result: Option<T>
§error: Option<String>
§success: bool
§req_id: i64
§time_in: String
§time_out: String
Trait Implementations§
Source§impl<T: Debug> Debug for ResultResponse<T>
impl<T: Debug> Debug for ResultResponse<T>
Source§impl<'de, T> Deserialize<'de> for ResultResponse<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ResultResponse<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for ResultResponse<T>
impl<T: PartialEq> PartialEq for ResultResponse<T>
impl<T> StructuralPartialEq for ResultResponse<T>
Auto Trait Implementations§
impl<T> Freeze for ResultResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for ResultResponse<T>where
T: RefUnwindSafe,
impl<T> Send for ResultResponse<T>where
T: Send,
impl<T> Sync for ResultResponse<T>where
T: Sync,
impl<T> Unpin for ResultResponse<T>where
T: Unpin,
impl<T> UnwindSafe for ResultResponse<T>where
T: UnwindSafe,
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