[−][src]Enum lnpbp::rgb::contract::data::Revealed
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
U8(u8)
U16(u16)
U32(u32)
U64(u64)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
String(String)
Sha256(Hash)
Single-path RIPEMD-160 is not secure and should not be used; see https://eprint.iacr.org/2004/199.pdf
Sha512(Hash)
Bitcoin160(Hash)
Bitcoin256(Hash)
Curve25519Pubkey(PublicKey)
Ed25519Signature(Signature)
TxOutPoint(OutPoint)
Tx(Transaction)
Implementations
impl Revealed
[src]
pub fn u8(&self) -> Option<u8>
[src]
pub fn u16(&self) -> Option<u16>
[src]
pub fn u32(&self) -> Option<u32>
[src]
pub fn u64(&self) -> Option<u64>
[src]
pub fn i8(&self) -> Option<i8>
[src]
pub fn i16(&self) -> Option<i16>
[src]
pub fn i32(&self) -> Option<i32>
[src]
pub fn i64(&self) -> Option<i64>
[src]
pub fn f32(&self) -> Option<f32>
[src]
pub fn f64(&self) -> Option<f64>
[src]
pub fn bytes(&self) -> Option<Vec<u8>>
[src]
pub fn string(&self) -> Option<String>
[src]
Trait Implementations
impl AsAny for Revealed
[src]
impl Clone for Revealed
[src]
impl CommitEncodeWithStrategy for Revealed
[src]
type Strategy = UsingConceal
impl Conceal for Revealed
[src]
type Confidential = Confidential
fn conceal(&self) -> Self::Confidential
[src]
impl Debug for Revealed
[src]
impl Display for Revealed
[src]
impl Eq for Revealed
[src]
impl Ord for Revealed
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Revealed> for Revealed
[src]
impl PartialOrd<Revealed> for Revealed
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl RevealedState for Revealed
[src]
impl StrictDecode for Revealed
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for Revealed
[src]
Auto Trait Implementations
impl RefUnwindSafe for Revealed
impl Send for Revealed
impl Sync for Revealed
impl Unpin for Revealed
impl UnwindSafe for Revealed
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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<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> 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>,