Skip to content

Commit

Permalink
CopyGetters
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Mar 15, 2024
1 parent 10c2ff6 commit 754950a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/types/block/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub mod unlock_condition;
use core::ops::RangeInclusive;

use derive_more::From;
use getset::Getters;
use getset::CopyGetters;
use packable::Packable;

pub(crate) use self::unlock_condition::AddressUnlockCondition;
Expand Down Expand Up @@ -406,7 +406,7 @@ pub trait MinimumOutputAmount: StorageScore {
}

/// Decayed stored and potential Mana of an output.
#[derive(Debug, Default, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Getters, derive_more::AddAssign)]
#[derive(Debug, Default, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, CopyGetters, derive_more::AddAssign)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[getset(get = "pub")]
pub struct DecayedMana {
Expand Down

0 comments on commit 754950a

Please sign in to comment.