referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::derive

Derive Macro Serialize

Source
#[derive(Serialize)]
{
    // Attributes available to this derive:
    #[serde]
}
Expand description

The serde Serialize/Deserialize derive macros and traits.

You will either need to add serde as a dependency in your crate’s Cargo.toml or specify the #[serde(crate = "PATH_TO_THIS_CRATE::serde")] attribute that points to the path where serde can be found.