Struct sn_dbc::AmountSecrets [−][src]
Expand description
Contains amount and Pedersen Commitment blinding factor which must be kept secret (encrypted) in the DBC.
Fields
amount: u64
blinding_factor: Scalar
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AmountSecrets
impl Send for AmountSecrets
impl Sync for AmountSecrets
impl Unpin for AmountSecrets
impl UnwindSafe for AmountSecrets
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self