pub struct InstructionFields {Show 25 fields
pub block_slot: bool,
pub block_hash: bool,
pub transaction_index: bool,
pub instruction_address: bool,
pub program_id: bool,
pub a0: bool,
pub a1: bool,
pub a2: bool,
pub a3: bool,
pub a4: bool,
pub a5: bool,
pub a6: bool,
pub a7: bool,
pub a8: bool,
pub a9: bool,
pub rest_of_accounts: bool,
pub data: bool,
pub d1: bool,
pub d2: bool,
pub d4: bool,
pub d8: bool,
pub error: bool,
pub compute_units_consumed: bool,
pub is_committed: bool,
pub has_dropped_log_messages: bool,
}Expand description
Field selector for Solana instruction data columns.
Fields§
§block_slot: bool§block_hash: bool§transaction_index: bool§instruction_address: bool§program_id: bool§a0: bool§a1: bool§a2: bool§a3: bool§a4: bool§a5: bool§a6: bool§a7: bool§a8: bool§a9: bool§rest_of_accounts: bool§data: bool§d1: bool§d2: bool§d4: bool§d8: bool§error: bool§compute_units_consumed: bool§is_committed: bool§has_dropped_log_messages: boolImplementations§
Trait Implementations§
Source§impl Clone for InstructionFields
impl Clone for InstructionFields
Source§fn clone(&self) -> InstructionFields
fn clone(&self) -> InstructionFields
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 InstructionFields
impl Debug for InstructionFields
Source§impl Default for InstructionFields
impl Default for InstructionFields
Source§fn default() -> InstructionFields
fn default() -> InstructionFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionFieldswhere
InstructionFields: Default,
impl<'de> Deserialize<'de> for InstructionFieldswhere
InstructionFields: 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 InstructionFields
impl Serialize for InstructionFields
impl Copy for InstructionFields
Auto Trait Implementations§
impl Freeze for InstructionFields
impl RefUnwindSafe for InstructionFields
impl Send for InstructionFields
impl Sync for InstructionFields
impl Unpin for InstructionFields
impl UnwindSafe for InstructionFields
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