Expand description
All derive macros used in frame.
This is already part of the main prelude.
Re-exports§
pub use serde;
Traits§
- Debug
?formatting.- Decode
- Trait that allows zero-copy read of value-references from slices in LE format.
- Deserialize
- The
serdeSerialize/Deserializederive macros and traits. - Encode
- Trait that allows zero-copy write of value-references to slices in LE format.
- Serialize
- The
serdeSerialize/Deserializederive macros and traits. - Type
Info - Implementors return their meta type information.
Derive Macros§
- Clone
NoBound - Derive [
Clone] but do not bound any generic. - Debug
- Derive macro generating an impl of the trait
Debug. - Debug
NoBound - Derive [
Debug] but do not bound any generics. - Decode
- Derive
parity_scale_codec::Decodefor struct and enum. - Default
NoBound - derive
Defaultbut do no bound any generic. Docs are atframe_support::DefaultNoBound. - Deserialize
- The
serdeSerialize/Deserializederive macros and traits. - Encode
- Derive
parity_scale_codec::Encodeandparity_scale_codec::EncodeLikefor struct and enum. - EqNo
Bound - DeriveEq but do no bound any generic.
- OrdNo
Bound - Derive [
Ord] but do no bound any generic. Docs are atframe_support::OrdNoBound. - Partial
EqNo Bound - Derive [
PartialEq] but do not bound any generic. - Partial
OrdNo Bound - Derive [
PartialOrd] but do not bound any generic. Docs are atframe_support::PartialOrdNoBound. - Runtime
Debug - Runtime
Debug NoBound - Derive [
Debug], ifstdis enabled it usesframe_support::DebugNoBound, ifstdis not enabled it just returns"<wasm:stripped>". This behaviour is useful to prevent bloating the runtime WASM blob from unneeded code. - Serialize
- The
serdeSerialize/Deserializederive macros and traits. - Type
Info