Skip to content

Commit

Permalink
Merge pull request #4003 from liya2017/develop
Browse files Browse the repository at this point in the history
refactor: derive implements Clone for cell
  • Loading branch information
zhangsoledad authored Jun 8, 2023
2 parents ed80d4d + 71ff6bd commit d593b54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions util/jsonrpc-types/src/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use serde::{Deserialize, Serialize};
/// }
/// # "#).unwrap();
/// ```
#[derive(Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct CellWithStatus {
/// The cell information.
///
Expand Down Expand Up @@ -85,7 +85,7 @@ pub struct CellWithStatus {
/// }
/// # "#).unwrap();
/// ```
#[derive(Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct CellInfo {
/// Cell fields appears in the transaction `outputs` array.
pub output: CellOutput,
Expand All @@ -107,7 +107,7 @@ pub struct CellInfo {
/// }
/// # "#).unwrap();
/// ```
#[derive(Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct CellData {
/// Cell content.
pub content: JsonBytes,
Expand Down

0 comments on commit d593b54

Please sign in to comment.