Docs.rs
bitcoin-consensus-derive-0.2.1
bitcoin-consensus-derive 0.2.1
Docs.rs crate page
Apache-2.0
Links
crates.io
Source
Owners
devrandom
DanielFeichtinger
Dependencies
proc-macro2 ^1.0
normal
quote ^1.0
normal
syn ^2.0
normal
Versions
66.67%
of the crate is documented
Platform
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
Encodable
bitcoin_
consensus_
derive
0.2.1
bitcoin_consensus_derive
Derive Macro
Encodable
Copy item path
Source
#[derive(Encodable)]
Expand description
Derive
Encodable
for a struct.
Notes:
all number fields will be encoded in big endian, unlike rust-bitcoin
all
Option
fields will be encoded with a
bool
indicating whether the field is
Some
or
None