[−][src]Struct lnpbp::rgb::prelude::Metadata
Transition & genesis metadata fields
Implementations
impl Metadata
[src]
pub fn u8(&self, field_type: FieldType) -> Vec<u8>ⓘ
[src]
pub fn u16(&self, field_type: FieldType) -> Vec<u16>ⓘ
[src]
pub fn u32(&self, field_type: FieldType) -> Vec<u32>ⓘ
[src]
pub fn u64(&self, field_type: FieldType) -> Vec<u64>ⓘ
[src]
pub fn i8(&self, field_type: FieldType) -> Vec<i8>ⓘ
[src]
pub fn i16(&self, field_type: FieldType) -> Vec<i16>ⓘ
[src]
pub fn i32(&self, field_type: FieldType) -> Vec<i32>ⓘ
[src]
pub fn i64(&self, field_type: FieldType) -> Vec<i64>ⓘ
[src]
pub fn f32(&self, field_type: FieldType) -> Vec<f32>ⓘ
[src]
pub fn f64(&self, field_type: FieldType) -> Vec<f64>ⓘ
[src]
pub fn bytes(&self, field_type: FieldType) -> Vec<Vec<u8>>ⓘ
[src]
pub fn string(&self, field_type: FieldType) -> Vec<String>ⓘ
[src]
Trait Implementations
impl AsMut<<Metadata as Wrapper>::Inner> for Metadata
[src]
impl AsRef<<Metadata as Wrapper>::Inner> for Metadata
[src]
impl Borrow<<Metadata as Wrapper>::Inner> for Metadata
[src]
impl BorrowMut<<Metadata as Wrapper>::Inner> for Metadata
[src]
fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
impl Clone for Metadata
[src]
impl CommitEncodeWithStrategy for Metadata
[src]
type Strategy = Merklization
impl Debug for Metadata
[src]
impl Default for Metadata
[src]
impl Deref for Metadata
[src]
type Target = Self::Inner
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for Metadata
[src]
impl Display for Metadata
[src]
impl Eq for Metadata
[src]
impl From<BTreeMap<usize, BTreeSet<Revealed>>> for Metadata
[src]
impl IntoIterator for Metadata
[src]
type Item = <BTreeMap<FieldType, BTreeSet<Revealed>> as IntoIterator>::Item
The type of the elements being iterated over.
type IntoIter = <BTreeMap<FieldType, BTreeSet<Revealed>> as IntoIterator>::IntoIter
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<Metadata> for Metadata
[src]
impl StrictDecode for Metadata
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for Metadata
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for Metadata
[src]
impl StructuralPartialEq for Metadata
[src]
impl Wrapper for Metadata
[src]
type Inner = BTreeMap<FieldType, BTreeSet<Revealed>>
Inner type wrapped by the current newtype
fn from_inner(inner: Self::Inner) -> Self
[src]
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]
fn to_inner(&self) -> Self::Inner
[src]
Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> I
[src]
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>,