pub struct MetaReveal {
pub meta_type: MetaType,
pub data: Vec<u8>,
pub unknown_odd_types: BTreeMap<u64, Vec<u8>>,
}Expand description
Meta reveal data included in proof files.
Fields§
§meta_type: MetaTypeThe meta data type.
data: Vec<u8>The raw meta data bytes.
unknown_odd_types: BTreeMap<u64, Vec<u8>>Unknown odd types for forward compatibility.
Trait Implementations§
Source§impl Clone for MetaReveal
impl Clone for MetaReveal
Source§fn clone(&self) -> MetaReveal
fn clone(&self) -> MetaReveal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetaReveal
impl Debug for MetaReveal
Source§impl<'de> Deserialize<'de> for MetaReveal
impl<'de> Deserialize<'de> for MetaReveal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MetaReveal
Source§impl PartialEq for MetaReveal
impl PartialEq for MetaReveal
Source§fn eq(&self, other: &MetaReveal) -> bool
fn eq(&self, other: &MetaReveal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetaReveal
impl Serialize for MetaReveal
impl StructuralPartialEq for MetaReveal
Auto Trait Implementations§
impl Freeze for MetaReveal
impl RefUnwindSafe for MetaReveal
impl Send for MetaReveal
impl Sync for MetaReveal
impl Unpin for MetaReveal
impl UnsafeUnpin for MetaReveal
impl UnwindSafe for MetaReveal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more