Expand description
Macros to derive runtime debug implementation.
This macro is deprecated. Use #[derive(Debug)] directly instead.
#[derive(sp_debug_derive::RuntimeDebug)]
struct MyStruct;
assert_eq!(format!("{:?}", MyStruct), "MyStruct");Derive Macros§
- Runtime
Debug - Derive macro for
Debugthat emits a deprecation warning.