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