Skip to content

Commit

Permalink
Comment OutputResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Dec 6, 2023
1 parent 30f34d9 commit ba7310d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions sdk/src/types/api/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,13 +530,14 @@ pub struct UtxoChangesResponse {
pub consumed_outputs: Vec<OutputId>,
}

/// Contains the generic [`Output`] with associated [`OutputIdProof`].
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct OutputResponse {
pub output: Output,
pub output_id_proof: OutputIdProof,
}
// TODO use for outputs route https://github.com/iotaledger/iota-sdk/issues/1686
// /// Contains the generic [`Output`] with associated [`OutputIdProof`].
// #[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
// #[serde(rename_all = "camelCase")]
// pub struct OutputResponse {
// pub output: Output,
// pub output_id_proof: OutputIdProof,
// }

/// The proof of the output identifier.
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
Expand Down

0 comments on commit ba7310d

Please sign in to comment.