pub struct ShieldedOutput {
pub commitment: Hash32,
pub value: u64,
}Expand description
A shielded output: appends a note commitment to the tree. The value is public in protocol v1 (ownership privacy, not amount privacy); the note secrets travel to the recipient out of band.
Fields§
§commitment: Hash32§value: u64Trait Implementations§
Source§impl Clone for ShieldedOutput
impl Clone for ShieldedOutput
Source§impl Debug for ShieldedOutput
impl Debug for ShieldedOutput
Source§impl<'de> Deserialize<'de> for ShieldedOutput
impl<'de> Deserialize<'de> for ShieldedOutput
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
impl Eq for ShieldedOutput
Source§impl PartialEq for ShieldedOutput
impl PartialEq for ShieldedOutput
Source§impl Serialize for ShieldedOutput
impl Serialize for ShieldedOutput
impl StructuralPartialEq for ShieldedOutput
Auto Trait Implementations§
impl Forget for ShieldedOutput
impl Freeze for ShieldedOutput
impl Move for ShieldedOutput
impl RefUnwindSafe for ShieldedOutput
impl Send for ShieldedOutput
impl Sync for ShieldedOutput
impl Unpin for ShieldedOutput
impl UnsafeUnpin for ShieldedOutput
impl UnwindSafe for ShieldedOutput
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