Struct rgb::contract::nodes::ContractId [−][src]
pub struct ContractId(_);
Expand description
Unique contract identifier equivalent to the contract genesis commitment
Trait Implementations
impl AsMut<<ContractId as Wrapper>::Inner> for ContractId
[src]
impl AsMut<<ContractId as Wrapper>::Inner> for ContractId
[src]impl AsRef<<ContractId as Wrapper>::Inner> for ContractId
[src]
impl AsRef<<ContractId as Wrapper>::Inner> for ContractId
[src]impl Borrow<<ContractId as Wrapper>::Inner> for ContractId
[src]
impl Borrow<<ContractId as Wrapper>::Inner> for ContractId
[src]impl BorrowMut<<ContractId as Wrapper>::Inner> for ContractId
[src]
impl BorrowMut<<ContractId as Wrapper>::Inner> for ContractId
[src]fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
fn borrow_mut(&mut self) -> &mut Self::Inner
[src]Mutably borrows from an owned value. Read more
impl Clone for ContractId
[src]
impl Clone for ContractId
[src]fn clone(&self) -> ContractId
[src]
fn clone(&self) -> ContractId
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl CommitEncodeWithStrategy for ContractId
[src]
impl CommitEncodeWithStrategy for ContractId
[src]type Strategy = UsingStrict
impl Debug for ContractId
[src]
impl Debug for ContractId
[src]impl Default for ContractId
[src]
impl Default for ContractId
[src]fn default() -> ContractId
[src]
fn default() -> ContractId
[src]Returns the “default value” for a type. Read more
impl Deref for ContractId
[src]
impl Deref for ContractId
[src]impl DerefMut for ContractId
[src]
impl DerefMut for ContractId
[src]impl<'de> Deserialize<'de> for ContractId
[src]
impl<'de> Deserialize<'de> for ContractId
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for ContractId
[src]
impl Display for ContractId
[src]impl From<ContractId> for Bech32
[src]
impl From<ContractId> for Bech32
[src]fn from(v: ContractId) -> Self
[src]
fn from(v: ContractId) -> Self
[src]Performs the conversion.
impl From<Hash<NodeIdTag>> for ContractId
[src]
impl From<Hash<NodeIdTag>> for ContractId
[src]impl From<Slice32> for ContractId
[src]
impl From<Slice32> for ContractId
[src]fn from(protocol_id: ProtocolId) -> Self
[src]
fn from(protocol_id: ProtocolId) -> Self
[src]Performs the conversion.
impl FromStr for ContractId
[src]
impl FromStr for ContractId
[src]impl Hash for ContractId
[src]
impl Hash for ContractId
[src]impl Index<Range<usize>> for ContractId
[src]
impl Index<Range<usize>> for ContractId
[src]impl Index<RangeFrom<usize>> for ContractId
[src]
impl Index<RangeFrom<usize>> for ContractId
[src]impl Index<RangeFull> for ContractId
[src]
impl Index<RangeFull> for ContractId
[src]impl Index<RangeTo<usize>> for ContractId
[src]
impl Index<RangeTo<usize>> for ContractId
[src]impl Index<usize> for ContractId
[src]
impl Index<usize> for ContractId
[src]impl LowerHex for ContractId
[src]
impl LowerHex for ContractId
[src]impl Ord for ContractId
[src]
impl Ord for ContractId
[src]impl PartialEq<ContractId> for ContractId
[src]
impl PartialEq<ContractId> for ContractId
[src]fn eq(&self, other: &ContractId) -> bool
[src]
fn eq(&self, other: &ContractId) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ContractId) -> bool
[src]
fn ne(&self, other: &ContractId) -> bool
[src]This method tests for !=
.
impl PartialOrd<ContractId> for ContractId
[src]
impl PartialOrd<ContractId> for ContractId
[src]fn partial_cmp(&self, other: &ContractId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ContractId) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serialize for ContractId
[src]
impl Serialize for ContractId
[src]impl Strategy for ContractId
[src]
impl Strategy for ContractId
[src]impl TryFrom<Bech32> for ContractId
[src]
impl TryFrom<Bech32> for ContractId
[src]impl Wrapper for ContractId
[src]
impl Wrapper for ContractId
[src]fn from_inner(inner: Self::Inner) -> Self
[src]
fn from_inner(inner: Self::Inner) -> Self
[src]Instantiates wrapper type with the inner data
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner(&self) -> &Self::Inner
[src]Returns reference to the inner representation for the wrapper type
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]Returns a mutable reference to the inner representation for the wrapper type Read more
fn into_inner(self) -> Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]Unwraps the wrapper returning the inner type
impl Copy for ContractId
[src]
impl Eq for ContractId
[src]
impl StructuralEq for ContractId
[src]
impl StructuralPartialEq for ContractId
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContractId
impl Send for ContractId
impl Sync for ContractId
impl Unpin for ContractId
impl UnwindSafe for ContractId
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> FromBech32 for T where
T: TryFrom<Bech32, Error = Error>,
[src]
impl<T> FromBech32 for T where
T: TryFrom<Bech32, Error = Error>,
[src]pub fn from_bech32(Bech32) -> Result<T, Error>
[src]
pub fn from_bech32(Bech32) -> Result<T, Error>
[src]Unwraps Bech32
enum data into a concrete type, if any, or fails with
Error::WrongType
otherwise Read more
impl<T, Tag> FromBech32IdStr<Tag> for T where
T: HashType<Tag>,
Tag: Tag,
[src]
impl<T, Tag> FromBech32IdStr<Tag> for T where
T: HashType<Tag>,
Tag: Tag,
[src]pub fn from_bech32_id_str(s: &str) -> Result<T, Error>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<'a, U, T> TaggedHash<'a, T> for U where
T: 'a + Tag,
U: Wrapper<Inner = Hash<T>>,
[src]
impl<'a, U, T> TaggedHash<'a, T> for U where
T: 'a + Tag,
U: Wrapper<Inner = Hash<T>>,
[src]impl<T, Tag> ToBech32IdString<Tag> for T where
T: HashType<Tag>,
Tag: Tag,
[src]
impl<T, Tag> ToBech32IdString<Tag> for T where
T: HashType<Tag>,
Tag: Tag,
[src]pub fn to_bech32_id_string(&self) -> String
[src]
pub fn to_bech32_id_string(&self) -> String
[src]Returns Bech32-encoded string in form of id1...
representing the type
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,