pub struct Inscription {Show 13 fields
pub name: String,
pub sequence: u64,
pub height: u64,
pub name_height: u64,
pub previous_hash: Bytes32,
pub name_hash: Bytes32,
pub service_hash: Bytes32,
pub protocol_hash: Option<Bytes32>,
pub block_height: u64,
pub block_hash: Bytes32,
pub txid: Bytes32,
pub vin: u8,
pub data: Name,
}
Fields§
§name: String
§sequence: u64
§height: u64
§name_height: u64
§previous_hash: Bytes32
§name_hash: Bytes32
§service_hash: Bytes32
§protocol_hash: Option<Bytes32>
§block_height: u64
§block_hash: Bytes32
§txid: Bytes32
§vin: u8
§data: Name
Implementations§
Trait Implementations§
Source§impl Clone for Inscription
impl Clone for Inscription
Source§fn clone(&self) -> Inscription
fn clone(&self) -> Inscription
Returns a duplicate 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<Inscription, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Inscription, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Inscription> for Value
impl From<&Inscription> for Value
Source§fn from(state: &Inscription) -> Self
fn from(state: &Inscription) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Inscription
impl PartialEq for Inscription
Source§impl Serialize for Inscription
impl Serialize for Inscription
Source§impl TryFrom<&Value> for Inscription
impl TryFrom<&Value> for Inscription
impl StructuralPartialEq for Inscription
Auto Trait Implementations§
impl Freeze for Inscription
impl RefUnwindSafe for Inscription
impl Send for Inscription
impl Sync for Inscription
impl Unpin for Inscription
impl UnwindSafe for Inscription
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