pub struct NestedRes;Expand description
网关扁平协议响应信封。
顶层 {errcode, errmsg, results_json}:errcode 校验 →
results_json 脱壳为 ApiResponse(含 error.code 校验)。除鉴权引导
(FlatRes,扁平整体响应)外,所有端点均走此协议。
Trait Implementations§
impl Copy for NestedRes
Auto Trait Implementations§
impl Freeze for NestedRes
impl RefUnwindSafe for NestedRes
impl Send for NestedRes
impl Sync for NestedRes
impl Unpin for NestedRes
impl UnsafeUnpin for NestedRes
impl UnwindSafe for NestedRes
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