pub struct Response(_, _, _);Expand description
返回响应
Implementations§
source§impl Response
impl Response
sourcepub fn get_data_data(self) -> JsonValue
pub fn get_data_data(self) -> JsonValue
获取业务数据
sourcepub fn get_data_code(self) -> i32
pub fn get_data_code(self) -> i32
获取业务反馈编号
sourcepub fn get_data_msg(self) -> String
pub fn get_data_msg(self) -> String
获取业务提示消息
pub fn into(self) -> (i32, &'static str, JsonValue)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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