Struct rgb::prelude::SchemaId [−][src]
pub struct SchemaId(_);
Expand description
Commitment-based schema identifier used for committing to the schema type
Trait Implementations
impl BorrowMut<<SchemaId as Wrapper>::Inner> for SchemaId
[src]
impl BorrowMut<<SchemaId as Wrapper>::Inner> for SchemaId
[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 SchemaId
[src]
impl<'de> Deserialize<'de> for SchemaId
[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 SchemaId
[src]
impl Ord for SchemaId
[src]impl PartialOrd<SchemaId> for SchemaId
[src]
impl PartialOrd<SchemaId> for SchemaId
[src]fn partial_cmp(&self, other: &SchemaId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &SchemaId) -> 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 SchemaId
[src]
impl Wrapper for SchemaId
[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 SchemaId
[src]
impl Eq for SchemaId
[src]
impl StructuralEq for SchemaId
[src]
impl StructuralPartialEq for SchemaId
[src]
Auto Trait Implementations
impl RefUnwindSafe for SchemaId
impl Send for SchemaId
impl Sync for SchemaId
impl Unpin for SchemaId
impl UnwindSafe for SchemaId
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>,