pub enum EcdhInfo {
Standard {
mask: Key,
amount: Key,
},
Bulletproof {
amount: Hash8,
},
}
Expand description
Diffie-Hellman info, mask and amount for transaction before Bulletproof2
and only 8-bytes
hash for the amount in Bulletproof2
type.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EcdhInfo
impl<'de> Deserialize<'de> for EcdhInfo
source§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
source§impl PartialEq for EcdhInfo
impl PartialEq for EcdhInfo
impl Eq for EcdhInfo
impl StructuralPartialEq for EcdhInfo
Auto Trait Implementations§
impl Freeze for EcdhInfo
impl RefUnwindSafe for EcdhInfo
impl Send for EcdhInfo
impl Sync for EcdhInfo
impl Unpin for EcdhInfo
impl UnwindSafe for EcdhInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more