Docs.rs
ethereum_serde_utils-0.7.0
ethereum_serde_utils 0.7.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
michaelsproul
github:sigp:crates-io
Dependencies
alloy-primitives ^0.8.0
normal
hex ^0.4.3
normal
serde ^1.0.0
normal
serde_derive ^1.0.0
normal
serde_json ^1.0.0
normal
Versions
25%
of the crate is documented
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
serde_
utils
0.7.0
In serde_
utils::
hex
Function
serde_utils
::
hex
::
encode
Copy item path
source
ยท
[
−
]
pub fn encode<T:
AsRef
<[
u8
]>>(data: T) ->
String
Expand description
Encode
data
as a 0x-prefixed hex string.