pub struct AppApiResponse {
pub code: Option<i32>,
pub data: Option<Box<App>>,
pub error: Option<Option<String>>,
}Fields§
§code: Option<i32>状态码
data: Option<Box<App>>§error: Option<Option<String>>错误信息
Implementations§
Source§impl AppApiResponse
impl AppApiResponse
pub fn new() -> AppApiResponse
Trait Implementations§
Source§impl Clone for AppApiResponse
impl Clone for AppApiResponse
Source§fn clone(&self) -> AppApiResponse
fn clone(&self) -> AppApiResponse
Returns a copy of the value. Read more
1.0.0 · 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 AppApiResponse
impl Debug for AppApiResponse
Source§impl Default for AppApiResponse
impl Default for AppApiResponse
Source§fn default() -> AppApiResponse
fn default() -> AppApiResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppApiResponse
impl<'de> Deserialize<'de> for AppApiResponse
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 PartialEq for AppApiResponse
impl PartialEq for AppApiResponse
Source§impl Serialize for AppApiResponse
impl Serialize for AppApiResponse
impl StructuralPartialEq for AppApiResponse
Auto Trait Implementations§
impl Freeze for AppApiResponse
impl RefUnwindSafe for AppApiResponse
impl Send for AppApiResponse
impl Sync for AppApiResponse
impl Unpin for AppApiResponse
impl UnwindSafe for AppApiResponse
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