Struct wownero::blockdata::transaction::ExtraField
source · [−]Expand description
Every transaction contains an extra field, which is a part of transaction prefix and allow storing extra data inside the transaction. The most common use case is for the transaction public key.
Extra field is composed of typed sub fields of variable or fixed length.
Tuple Fields
0: Vec<SubField>
Implementations
Trait Implementations
sourceimpl Clone for ExtraField
impl Clone for ExtraField
sourcefn clone(&self) -> ExtraField
fn clone(&self) -> ExtraField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExtraField
impl Debug for ExtraField
sourceimpl Decodable for ExtraField
impl Decodable for ExtraField
sourcefn consensus_decode<D: Read>(d: &mut D) -> Result<ExtraField, Error>
fn consensus_decode<D: Read>(d: &mut D) -> Result<ExtraField, Error>
Decode an object with a well-defined format.
sourceimpl Default for ExtraField
impl Default for ExtraField
sourcefn default() -> ExtraField
fn default() -> ExtraField
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ExtraField
impl<'de> Deserialize<'de> for ExtraField
sourcefn 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
sourceimpl Display for ExtraField
impl Display for ExtraField
sourceimpl Encodable for ExtraField
impl Encodable for ExtraField
sourceimpl PartialEq<ExtraField> for ExtraField
impl PartialEq<ExtraField> for ExtraField
sourcefn eq(&self, other: &ExtraField) -> bool
fn eq(&self, other: &ExtraField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExtraField) -> bool
fn ne(&self, other: &ExtraField) -> bool
This method tests for !=
.
sourceimpl Serialize for ExtraField
impl Serialize for ExtraField
impl StructuralPartialEq for ExtraField
Auto Trait Implementations
impl RefUnwindSafe for ExtraField
impl Send for ExtraField
impl Sync for ExtraField
impl Unpin for ExtraField
impl UnwindSafe for ExtraField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more