Struct rgb::contract::value::BlindingFactor [−][src]
Proof for Pedersen commitment: a blinding key
Trait Implementations
impl AsMut<<BlindingFactor as Wrapper>::Inner> for BlindingFactor
[src]
impl AsRef<<BlindingFactor as Wrapper>::Inner> for BlindingFactor
[src]
impl AsRef<[u8]> for BlindingFactor
[src]
impl Borrow<<BlindingFactor as Wrapper>::Inner> for BlindingFactor
[src]
impl BorrowMut<<BlindingFactor as Wrapper>::Inner> for BlindingFactor
[src]
fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
impl Clone for BlindingFactor
[src]
fn clone(&self) -> BlindingFactor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BlindingFactor
[src]
impl Debug for BlindingFactor
[src]
impl Deref for BlindingFactor
[src]
type Target = Self::Inner
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for BlindingFactor
[src]
impl<'de> Deserialize<'de> for BlindingFactor
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for BlindingFactor
[src]
impl Eq for BlindingFactor
[src]
impl From<SecretKey> for BlindingFactor
[src]
impl From<Slice32> for BlindingFactor
[src]
impl FromHex for BlindingFactor
[src]
fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
pub fn from_hex(s: &str) -> Result<Self, Error>
[src]
impl FromStr for BlindingFactor
[src]
type Err = <Self::Inner as FromStr>::Err
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for BlindingFactor
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LowerHex for BlindingFactor
[src]
impl Ord for BlindingFactor
[src]
fn cmp(&self, other: &BlindingFactor) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<BlindingFactor> for BlindingFactor
[src]
fn eq(&self, other: &BlindingFactor) -> bool
[src]
fn ne(&self, other: &BlindingFactor) -> bool
[src]
impl PartialOrd<BlindingFactor> for BlindingFactor
[src]
fn partial_cmp(&self, other: &BlindingFactor) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for BlindingFactor
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StrictDecode for BlindingFactor
[src]
fn strict_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
pub fn strict_deserialize(data: impl AsRef<[u8]>) -> Result<Self, Error>
[src]
impl StrictEncode for BlindingFactor
[src]
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Error>
[src]
pub fn strict_serialize(&self) -> Result<Vec<u8, Global>, Error>
[src]
impl StructuralEq for BlindingFactor
[src]
impl StructuralPartialEq for BlindingFactor
[src]
impl UpperHex for BlindingFactor
[src]
impl Wrapper for BlindingFactor
[src]
type Inner = Slice32
Inner type wrapped by the current newtype
fn from_inner(inner: Self::Inner) -> Self
[src]
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]
pub fn to_inner(&self) -> Self::Inner
[src]
pub fn copy(&self) -> Self where
Self::Inner: Copy,
[src]
Self::Inner: Copy,
Auto Trait Implementations
impl RefUnwindSafe for BlindingFactor
impl Send for BlindingFactor
impl Sync for BlindingFactor
impl Unpin for BlindingFactor
impl UnwindSafe for BlindingFactor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsBech32Payload for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn as_bech32_payload(&self) -> &[u8]ⓘ
[src]
impl<T> Base32Len for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn base32_len(&self) -> usize
[src]
impl<T> Bech32DataString for T where
T: AsPayload,
[src]
T: AsPayload,
pub fn bech32_data_string(&self) -> String
[src]
impl<T> Bech32ZipString for T where
T: AsPayload,
[src]
T: AsPayload,
pub fn bech32_zip_string(&self) -> String
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
type Err = Error
Error type if conversion fails
pub fn check_base32(
self
) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>
[src]
self
) -> Result<Vec<u5, Global>, <T as CheckBase32<Vec<u5, Global>>>::Err>
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToBase32 for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
[src]
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn to_base32(&self) -> Vec<u5, Global>
[src]
impl<T> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,