Struct ord::Inscription
source · pub struct Inscription {
pub body: Option<Vec<u8>>,
pub content_encoding: Option<Vec<u8>>,
pub content_type: Option<Vec<u8>>,
pub duplicate_field: bool,
pub incomplete_field: bool,
pub metadata: Option<Vec<u8>>,
pub metaprotocol: Option<Vec<u8>>,
pub parent: Option<Vec<u8>>,
pub pointer: Option<Vec<u8>>,
pub unrecognized_even_field: bool,
}Fields§
§body: Option<Vec<u8>>§content_encoding: Option<Vec<u8>>§content_type: Option<Vec<u8>>§duplicate_field: bool§incomplete_field: bool§metadata: Option<Vec<u8>>§metaprotocol: Option<Vec<u8>>§parent: Option<Vec<u8>>§pointer: Option<Vec<u8>>§unrecognized_even_field: boolTrait Implementations§
source§impl Clone for Inscription
impl Clone for Inscription
source§fn clone(&self) -> Inscription
fn clone(&self) -> Inscription
Returns a copy of the value. Read more
1.0.0 · 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 Inscription
impl Debug for Inscription
source§impl Default for Inscription
impl Default for Inscription
source§fn default() -> Inscription
fn default() -> Inscription
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Inscription
impl<'de> Deserialize<'de> for Inscription
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
source§impl PartialEq for Inscription
impl PartialEq for Inscription
source§fn eq(&self, other: &Inscription) -> bool
fn eq(&self, other: &Inscription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Inscription
impl Serialize for Inscription
impl Eq for Inscription
impl StructuralEq for Inscription
impl StructuralPartialEq for Inscription
Auto Trait Implementations§
impl RefUnwindSafe for Inscription
impl Send for Inscription
impl Sync for Inscription
impl Unpin for Inscription
impl UnwindSafe for Inscription
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.