[][src]Derive Macro bee_common_derive::SecretDebug

#[derive(SecretDebug)]

Derives an implementation of the trait std::fmt::Debug for a secret type that doesn't leak its internal secret. Implements https://github.com/iotaledger/bee-rfcs/blob/master/text/0042-secret-debug-display.md. Based on https://github.com/dtolnay/syn/blob/master/examples/heapsize/heapsize_derive/src/lib.rs.