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