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
serde
Serialize
/Deserialize
derive macros and traits. - Encode
- Trait that allows zero-copy write of value-references to slices in LE format.
- Serialize
- The
serde
Serialize
/Deserialize
derive 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::Decode
for struct and enum. - Default
NoBound - derive
Default
but do no bound any generic. Docs are atframe_support::DefaultNoBound
. - Deserialize
- The
serde
Serialize
/Deserialize
derive macros and traits. - Encode
- Derive
parity_scale_codec::Encode
andparity_scale_codec::EncodeLike
for 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
], ifstd
is enabled it usesframe_support::DebugNoBound
, ifstd
is not enabled it just returns"<wasm:stripped>"
. This behaviour is useful to prevent bloating the runtime WASM blob from unneeded code. - Serialize
- The
serde
Serialize
/Deserialize
derive macros and traits. - Type
Info