Struct rgbstd::contract::ConcealedAttach
source · pub struct ConcealedAttach(_);Expand description
Confidential version of an attachment information.
See also revealed version RevealedAttach.
Trait Implementations§
source§impl AsRef<<ConcealedAttach as Wrapper>::Inner> for ConcealedAttach
impl AsRef<<ConcealedAttach as Wrapper>::Inner> for ConcealedAttach
source§impl Borrow<<ConcealedAttach as Wrapper>::Inner> for ConcealedAttach
impl Borrow<<ConcealedAttach as Wrapper>::Inner> for ConcealedAttach
source§impl Borrow<[u8]> for ConcealedAttach
impl Borrow<[u8]> for ConcealedAttach
source§impl Clone for ConcealedAttach
impl Clone for ConcealedAttach
source§fn clone(&self) -> ConcealedAttach
fn clone(&self) -> ConcealedAttach
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 CommitStrategy for ConcealedAttach
impl CommitStrategy for ConcealedAttach
source§impl CommitVerify<RevealedAttach, StrictEncodedProtocol> for ConcealedAttach
impl CommitVerify<RevealedAttach, StrictEncodedProtocol> for ConcealedAttach
source§fn commit(revealed: &RevealedAttach) -> ConcealedAttach
fn commit(revealed: &RevealedAttach) -> ConcealedAttach
Creates a commitment to a byte representation of a given message
source§impl ConfidentialState for ConcealedAttach
impl ConfidentialState for ConcealedAttach
fn state_type(&self) -> StateType
fn state_commitment(&self) -> StateCommitment
source§impl Debug for ConcealedAttach
impl Debug for ConcealedAttach
source§impl Deref for ConcealedAttach
impl Deref for ConcealedAttach
source§impl<'de> Deserialize<'de> for ConcealedAttach
impl<'de> Deserialize<'de> for ConcealedAttach
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ConcealedAttach, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ConcealedAttach, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromHex for ConcealedAttach
impl FromHex for ConcealedAttach
source§fn from_byte_iter<I>(iter: I) -> Result<ConcealedAttach, Error>where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_byte_iter<I>(iter: I) -> Result<ConcealedAttach, Error>where I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
Produce an object from a byte iterator
source§impl Hash for ConcealedAttach
impl Hash for ConcealedAttach
source§impl Index<RangeFull> for ConcealedAttach
impl Index<RangeFull> for ConcealedAttach
source§impl Index<RangeInclusive<usize>> for ConcealedAttach
impl Index<RangeInclusive<usize>> for ConcealedAttach
§type Output = <<ConcealedAttach as Wrapper>::Inner as Index<RangeInclusive<usize>>>::Output
type Output = <<ConcealedAttach as Wrapper>::Inner as Index<RangeInclusive<usize>>>::Output
The returned type after indexing.
source§fn index(
&self,
index: RangeInclusive<usize>
) -> &<ConcealedAttach as Index<RangeInclusive<usize>>>::Output
fn index( &self, index: RangeInclusive<usize> ) -> &<ConcealedAttach as Index<RangeInclusive<usize>>>::Output
Performs the indexing (
container[index]) operation. Read moresource§impl Index<RangeToInclusive<usize>> for ConcealedAttach
impl Index<RangeToInclusive<usize>> for ConcealedAttach
§type Output = <<ConcealedAttach as Wrapper>::Inner as Index<RangeInclusive<usize>>>::Output
type Output = <<ConcealedAttach as Wrapper>::Inner as Index<RangeInclusive<usize>>>::Output
The returned type after indexing.
source§fn index(
&self,
index: RangeToInclusive<usize>
) -> &<ConcealedAttach as Index<RangeToInclusive<usize>>>::Output
fn index( &self, index: RangeToInclusive<usize> ) -> &<ConcealedAttach as Index<RangeToInclusive<usize>>>::Output
Performs the indexing (
container[index]) operation. Read moresource§impl Index<usize> for ConcealedAttach
impl Index<usize> for ConcealedAttach
source§impl LowerHex for ConcealedAttach
impl LowerHex for ConcealedAttach
source§impl Ord for ConcealedAttach
impl Ord for ConcealedAttach
source§fn cmp(&self, other: &ConcealedAttach) -> Ordering
fn cmp(&self, other: &ConcealedAttach) -> 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<ConcealedAttach> for ConcealedAttach
impl PartialEq<ConcealedAttach> for ConcealedAttach
source§fn eq(&self, other: &ConcealedAttach) -> bool
fn eq(&self, other: &ConcealedAttach) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ConcealedAttach> for ConcealedAttach
impl PartialOrd<ConcealedAttach> for ConcealedAttach
source§fn partial_cmp(&self, other: &ConcealedAttach) -> Option<Ordering>
fn partial_cmp(&self, other: &ConcealedAttach) -> 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 moresource§impl Serialize for ConcealedAttach
impl Serialize for ConcealedAttach
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl StrictDecode for ConcealedAttach
impl StrictDecode for ConcealedAttach
fn strict_decode( reader: &mut impl TypedRead ) -> Result<ConcealedAttach, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDumb for ConcealedAttach
impl StrictDumb for ConcealedAttach
fn strict_dumb() -> ConcealedAttach
source§impl StrictEncode for ConcealedAttach
impl StrictEncode for ConcealedAttach
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where W: TypedWrite,
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
source§impl StrictTuple for ConcealedAttach
impl StrictTuple for ConcealedAttach
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for ConcealedAttach
impl StrictType for ConcealedAttach
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB
fn strict_name() -> Option<TypeName>
source§impl UpperHex for ConcealedAttach
impl UpperHex for ConcealedAttach
source§impl Wrapper for ConcealedAttach
impl Wrapper for ConcealedAttach
source§fn from_inner(inner: <ConcealedAttach as Wrapper>::Inner) -> ConcealedAttach
fn from_inner(inner: <ConcealedAttach as Wrapper>::Inner) -> ConcealedAttach
Instantiates wrapper type with the inner data
source§fn as_inner(&self) -> &<ConcealedAttach as Wrapper>::Inner
fn as_inner(&self) -> &<ConcealedAttach as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
source§fn into_inner(self) -> <ConcealedAttach as Wrapper>::Inner
fn into_inner(self) -> <ConcealedAttach as Wrapper>::Inner
Unwraps the wrapper returning the inner type
impl Copy for ConcealedAttach
impl Eq for ConcealedAttach
impl StrictProduct for ConcealedAttach
impl StructuralEq for ConcealedAttach
impl StructuralPartialEq for ConcealedAttach
Auto Trait Implementations§
impl RefUnwindSafe for ConcealedAttach
impl Send for ConcealedAttach
impl Sync for ConcealedAttach
impl Unpin for ConcealedAttach
impl UnwindSafe for ConcealedAttach
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
source§impl<T> CommitEncode for Twhere
T: CommitStrategy,
Holder<&'a T, <T as CommitStrategy>::Strategy>: for<'a> CommitEncode,
impl<T> CommitEncode for Twhere T: CommitStrategy, Holder<&'a T, <T as CommitStrategy>::Strategy>: for<'a> CommitEncode,
source§fn commit_encode(&self, e: &mut impl Write)
fn commit_encode(&self, e: &mut impl Write)
Encodes the data for the commitment by writing them directly into a
io::Write writer instance§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
§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
Compare self to
key and return true if they are equal.source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.