pub struct TransactionResult {Show 16 fields
pub hash: H256,
pub size: i32,
pub version: i32,
pub nonce: i32,
pub sender: String,
pub sys_fee: String,
pub net_fee: String,
pub valid_until_block: i32,
pub signers: Vec<TransactionSigner>,
pub attributes: Vec<TransactionAttribute>,
pub script: String,
pub witnesses: Vec<NeoWitness>,
pub block_hash: Option<H256>,
pub confirmations: Option<i32>,
pub block_time: Option<u64>,
pub vm_state: Option<NeoVMStateType>,
}
Fields§
§hash: H256
§size: i32
§version: i32
§nonce: i32
§sender: String
§sys_fee: String
§net_fee: String
§valid_until_block: i32
§signers: Vec<TransactionSigner>
§attributes: Vec<TransactionAttribute>
§script: String
§witnesses: Vec<NeoWitness>
§block_hash: Option<H256>
§confirmations: Option<i32>
§block_time: Option<u64>
§vm_state: Option<NeoVMStateType>
Trait Implementations§
Source§impl Clone for TransactionResult
impl Clone for TransactionResult
Source§fn clone(&self) -> TransactionResult
fn clone(&self) -> TransactionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransactionResult
impl Debug for TransactionResult
Source§impl<'de> Deserialize<'de> for TransactionResult
impl<'de> Deserialize<'de> for TransactionResult
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 Hash for TransactionResult
impl Hash for TransactionResult
Auto Trait Implementations§
impl Freeze for TransactionResult
impl RefUnwindSafe for TransactionResult
impl Send for TransactionResult
impl Sync for TransactionResult
impl Unpin for TransactionResult
impl UnwindSafe for TransactionResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more