Struct elements::RangeProofMessage
source · pub struct RangeProofMessage {
pub asset: AssetId,
pub bf: AssetBlindingFactor,
}
Expand description
The Rangeproof message
Fields§
§asset: AssetId
The asset id
bf: AssetBlindingFactor
The asset blinding factor
Implementations§
Trait Implementations§
source§impl Clone for RangeProofMessage
impl Clone for RangeProofMessage
source§fn clone(&self) -> RangeProofMessage
fn clone(&self) -> RangeProofMessage
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 RangeProofMessage
impl Debug for RangeProofMessage
source§impl Hash for RangeProofMessage
impl Hash for RangeProofMessage
source§impl Ord for RangeProofMessage
impl Ord for RangeProofMessage
source§fn cmp(&self, other: &RangeProofMessage) -> Ordering
fn cmp(&self, other: &RangeProofMessage) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RangeProofMessage
impl PartialEq for RangeProofMessage
source§fn eq(&self, other: &RangeProofMessage) -> bool
fn eq(&self, other: &RangeProofMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RangeProofMessage
impl PartialOrd for RangeProofMessage
source§fn partial_cmp(&self, other: &RangeProofMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &RangeProofMessage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RangeProofMessage
impl StructuralPartialEq for RangeProofMessage
Auto Trait Implementations§
impl RefUnwindSafe for RangeProofMessage
impl Send for RangeProofMessage
impl Sync for RangeProofMessage
impl Unpin for RangeProofMessage
impl UnwindSafe for RangeProofMessage
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