Struct rgb::contract::nodes::NodeId [−][src]
pub struct NodeId(_);
Expand description
Unique node (genesis, extensions & state transition) identifier equivalent to the commitment hash
Trait Implementations
impl BorrowMut<<NodeId as Wrapper>::Inner> for NodeId
[src]
impl BorrowMut<<NodeId as Wrapper>::Inner> for NodeId
[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<'de> Deserialize<'de> for NodeId
[src]
impl<'de> Deserialize<'de> for NodeId
[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 Ord for NodeId
[src]
impl Ord for NodeId
[src]impl PartialOrd<NodeId> for NodeId
[src]
impl PartialOrd<NodeId> for NodeId
[src]fn partial_cmp(&self, other: &NodeId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &NodeId) -> 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 Wrapper for NodeId
[src]
impl Wrapper for NodeId
[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 NodeId
[src]
impl Eq for NodeId
[src]
impl StructuralEq for NodeId
[src]
impl StructuralPartialEq for NodeId
[src]
Auto Trait Implementations
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
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, 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>,