diff --git a/rpc/types/src/misc/tx_entry.rs b/rpc/types/src/misc/tx_entry.rs index fb5b705..86d0207 100644 --- a/rpc/types/src/misc/tx_entry.rs +++ b/rpc/types/src/misc/tx_entry.rs @@ -71,7 +71,7 @@ use cuprate_epee_encoding::{ pub enum TxEntry { /// This entry exists in the transaction pool. InPool { - /// This field is flattened. + /// This field is [flattened](https://serde.rs/field-attrs.html#flatten). #[cfg_attr(feature = "serde", serde(flatten))] prefix: TxEntryPrefix, block_height: u64, @@ -84,7 +84,7 @@ pub enum TxEntry { }, /// This entry _does not_ exist in the transaction pool. NotInPool { - /// This field is flattened. + /// This field is [flattened](https://serde.rs/field-attrs.html#flatten). #[cfg_attr(feature = "serde", serde(flatten))] prefix: TxEntryPrefix, received_timestamp: u64, diff --git a/types/src/json/block.rs b/types/src/json/block.rs index f53be50..2cca9e5 100644 --- a/types/src/json/block.rs +++ b/types/src/json/block.rs @@ -27,13 +27,13 @@ pub struct Block { #[serde(untagged)] pub enum MinerTransaction { V1 { - /// This field is flattened. + /// This field is [flattened](https://serde.rs/field-attrs.html#flatten). #[serde(flatten)] prefix: MinerTransactionPrefix, signatures: [(); 0], }, V2 { - /// This field is flattened. + /// This field is [flattened](https://serde.rs/field-attrs.html#flatten). #[serde(flatten)] prefix: MinerTransactionPrefix, rct_signatures: MinerTransactionRctSignatures, diff --git a/types/src/json/tx.rs b/types/src/json/tx.rs index 7d60f41..830d854 100644 --- a/types/src/json/tx.rs +++ b/types/src/json/tx.rs @@ -20,13 +20,13 @@ use crate::json::output::Output; #[serde(untagged)] pub enum Transaction { V1 { - /// This field is flattened. + /// This field is [flattened](https://serde.rs/field-attrs.html#flatten). #[serde(flatten)] prefix: TransactionPrefix, signatures: Vec, }, V2 { - /// This field is flattened. + /// This field is [flattened](https://serde.rs/field-attrs.html#flatten). #[serde(flatten)] prefix: TransactionPrefix, rct_signatures: RctSignatures,