pub struct TransactionFields {Show 19 fields
pub block_slot: bool,
pub block_hash: bool,
pub transaction_index: bool,
pub signature: bool,
pub version: bool,
pub account_keys: bool,
pub address_table_lookups: bool,
pub num_readonly_signed_accounts: bool,
pub num_readonly_unsigned_accounts: bool,
pub num_required_signatures: bool,
pub recent_blockhash: bool,
pub signatures: bool,
pub err: bool,
pub fee: bool,
pub compute_units_consumed: bool,
pub loaded_readonly_addresses: bool,
pub loaded_writable_addresses: bool,
pub fee_payer: bool,
pub has_dropped_log_messages: bool,
}Expand description
Field selector for Solana transaction data columns.
Fields§
§block_slot: bool§block_hash: bool§transaction_index: bool§signature: bool§version: bool§account_keys: bool§address_table_lookups: bool§num_readonly_signed_accounts: bool§num_readonly_unsigned_accounts: bool§num_required_signatures: bool§recent_blockhash: bool§signatures: bool§err: bool§fee: bool§compute_units_consumed: bool§loaded_readonly_addresses: bool§loaded_writable_addresses: bool§fee_payer: bool§has_dropped_log_messages: boolImplementations§
Trait Implementations§
Source§impl Clone for TransactionFields
impl Clone for TransactionFields
Source§fn clone(&self) -> TransactionFields
fn clone(&self) -> TransactionFields
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 TransactionFields
impl Debug for TransactionFields
Source§impl Default for TransactionFields
impl Default for TransactionFields
Source§fn default() -> TransactionFields
fn default() -> TransactionFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionFieldswhere
TransactionFields: Default,
impl<'de> Deserialize<'de> for TransactionFieldswhere
TransactionFields: Default,
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 Serialize for TransactionFields
impl Serialize for TransactionFields
impl Copy for TransactionFields
Auto Trait Implementations§
impl Freeze for TransactionFields
impl RefUnwindSafe for TransactionFields
impl Send for TransactionFields
impl Sync for TransactionFields
impl Unpin for TransactionFields
impl UnwindSafe for TransactionFields
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> 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