Struct ns_protocol::state::InvalidInscription
source · pub struct InvalidInscription {
pub name: String,
pub block_height: u64,
pub hash: Vec<u8>,
pub reason: String,
pub data: Name,
}
Fields§
§name: String
§block_height: u64
§hash: Vec<u8>
§reason: String
§data: Name
Implementations§
Trait Implementations§
source§impl Clone for InvalidInscription
impl Clone for InvalidInscription
source§fn clone(&self) -> InvalidInscription
fn clone(&self) -> InvalidInscription
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 InvalidInscription
impl Debug for InvalidInscription
source§impl Default for InvalidInscription
impl Default for InvalidInscription
source§fn default() -> InvalidInscription
fn default() -> InvalidInscription
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvalidInscription
impl<'de> Deserialize<'de> for InvalidInscription
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 InvalidInscription
impl PartialEq for InvalidInscription
source§fn eq(&self, other: &InvalidInscription) -> bool
fn eq(&self, other: &InvalidInscription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InvalidInscription
impl Serialize for InvalidInscription
impl StructuralPartialEq for InvalidInscription
Auto Trait Implementations§
impl RefUnwindSafe for InvalidInscription
impl Send for InvalidInscription
impl Sync for InvalidInscription
impl Unpin for InvalidInscription
impl UnwindSafe for InvalidInscription
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