[][src]Struct lnpbp::rgb::prelude::Metadata

pub struct Metadata(_);

Transition & genesis metadata fields

Implementations

impl Metadata[src]

pub fn u8(&self, field_type: FieldType) -> Vec<u8>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn u16(&self, field_type: FieldType) -> Vec<u16>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn u32(&self, field_type: FieldType) -> Vec<u32>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn u64(&self, field_type: FieldType) -> Vec<u64>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn i8(&self, field_type: FieldType) -> Vec<i8>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn i16(&self, field_type: FieldType) -> Vec<i16>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn i32(&self, field_type: FieldType) -> Vec<i32>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn i64(&self, field_type: FieldType) -> Vec<i64>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn f32(&self, field_type: FieldType) -> Vec<f32>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn f64(&self, field_type: FieldType) -> Vec<f64>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn bytes(&self, field_type: FieldType) -> Vec<Vec<u8>>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[src]

pub fn string(&self, field_type: FieldType) -> Vec<String>

Notable traits for Vec<u8>

impl Write for Vec<u8>
[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]

impl Clone for Metadata[src]

impl CommitEncodeWithStrategy for Metadata[src]

impl Debug for Metadata[src]

impl Default for Metadata[src]

impl Deref for Metadata[src]

type Target = Self::Inner

The resulting type after dereferencing.

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?

impl PartialEq<Metadata> for Metadata[src]

impl StrictDecode for Metadata[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for Metadata[src]

type Error = Error

Implementation-dependent error type

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

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

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?

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,