Struct secp256k1zkp::pedersen::RangeProof
source · pub struct RangeProof {
pub proof: [u8; 5134],
pub plen: usize,
}
Expand description
A range proof. Typically much larger in memory that the above (~5k).
Fields§
§proof: [u8; 5134]
The proof itself, at most 5134 bytes long
plen: usize
The length of the proof
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for RangeProof
impl AsRef<[u8]> for RangeProof
source§impl Clone for RangeProof
impl Clone for RangeProof
source§fn clone(&self) -> RangeProof
fn clone(&self) -> RangeProof
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 RangeProof
impl Debug for RangeProof
source§impl<'de> Deserialize<'de> for RangeProof
impl<'de> Deserialize<'de> for RangeProof
source§fn deserialize<D>(d: D) -> Result<RangeProof, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<RangeProof, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RangeProof
impl PartialEq for RangeProof
source§impl Serialize for RangeProof
impl Serialize for RangeProof
impl Copy for RangeProof
Auto Trait Implementations§
impl Freeze for RangeProof
impl RefUnwindSafe for RangeProof
impl Send for RangeProof
impl Sync for RangeProof
impl Unpin for RangeProof
impl UnwindSafe for RangeProof
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