Struct noah_api::xfr::structs::XfrRangeProof
source · pub struct XfrRangeProof {
pub range_proof: RangeProof,
pub xfr_diff_commitment_low: CompressedRistretto,
pub xfr_diff_commitment_high: CompressedRistretto,
}Expand description
The range proof building block of the amount and asset type part.
Fields§
§range_proof: RangeProofThe Bulletproofs range proof.
xfr_diff_commitment_low: CompressedRistrettoLower 32 bits transfer amount difference commitment.
xfr_diff_commitment_high: CompressedRistrettoHigher 32 bits transfer amount difference commitment.
Trait Implementations§
source§impl Clone for XfrRangeProof
impl Clone for XfrRangeProof
source§fn clone(&self) -> XfrRangeProof
fn clone(&self) -> XfrRangeProof
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for XfrRangeProof
impl Debug for XfrRangeProof
source§impl<'de> Deserialize<'de> for XfrRangeProof
impl<'de> Deserialize<'de> for XfrRangeProof
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<XfrRangeProof> for XfrRangeProof
impl PartialEq<XfrRangeProof> for XfrRangeProof
source§fn eq(&self, other: &XfrRangeProof) -> bool
fn eq(&self, other: &XfrRangeProof) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for XfrRangeProof
impl Serialize for XfrRangeProof
impl Eq for XfrRangeProof
Auto Trait Implementations§
impl RefUnwindSafe for XfrRangeProof
impl Send for XfrRangeProof
impl Sync for XfrRangeProof
impl Unpin for XfrRangeProof
impl UnwindSafe for XfrRangeProof
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more