pub struct R<T> {
pub success: bool,
pub code: i32,
pub msg: Option<String>,
pub data: Option<T>,
pub def_exec: bool,
pub path: String,
pub version: String,
pub base_version: String,
pub timestamp: i64,
}Fields§
§success: bool§code: i32§msg: Option<String>§data: Option<T>§def_exec: bool§path: String§version: String§base_version: String§timestamp: i64Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for R<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for R<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
Auto Trait Implementations§
impl<T> Freeze for R<T>where
T: Freeze,
impl<T> RefUnwindSafe for R<T>where
T: RefUnwindSafe,
impl<T> Send for R<T>where
T: Send,
impl<T> Sync for R<T>where
T: Sync,
impl<T> Unpin for R<T>where
T: Unpin,
impl<T> UnwindSafe for R<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