Docs.rs
api-resp-0.1.0
api-resp 0.1.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
t1000ln
Dependencies
log ^0.4.17
normal
serde ^1.0
normal
serde_json ^1.0
normal
Versions
66.67%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
DaoResult
Trait Implementations
TransformResult
In api_resp
?
Type Definition
api_resp
::
DaoResult
source
·
[
−
]
pub type DaoResult =
Result
<
ApiResp
,
Box
<dyn
Error
>>;
Expand description
简写的接口返回数据结构定义。
Trait Implementations
§
source
§
impl
TransformResult
for
DaoResult
source
§
fn
to_json_str
<T>(self, err_log: T) ->
String
where
T:
Debug
+
Display
,
将API结果转换为JSON字符串。
Read more