pub enum TraceField {
Show 25 variants
TransactionHash,
BlockHash,
BlockNumber,
TransactionPosition,
Type,
Error,
From,
To,
Author,
Gas,
GasUsed,
ActionAddress,
Address,
Balance,
CallType,
Code,
Init,
Input,
Output,
RefundAddress,
RewardType,
Sighash,
Subtraces,
TraceAddress,
Value,
}Variants§
TransactionHash
BlockHash
BlockNumber
TransactionPosition
Type
Error
From
To
Author
Gas
GasUsed
ActionAddress
Address
Balance
CallType
Code
Init
Input
Output
RefundAddress
RewardType
Sighash
Subtraces
TraceAddress
Value
Implementations§
Source§impl TraceField
impl TraceField
pub fn all() -> BTreeSet<Self>
Sourcepub fn to_capnp(&self) -> TraceField
pub fn to_capnp(&self) -> TraceField
Convert TraceField to Cap’n Proto enum
Sourcepub fn from_capnp(field: TraceField) -> Self
pub fn from_capnp(field: TraceField) -> Self
Convert Cap’n Proto enum to TraceField
Trait Implementations§
Source§impl AsRef<str> for TraceField
impl AsRef<str> for TraceField
Source§impl Clone for TraceField
impl Clone for TraceField
Source§fn clone(&self) -> TraceField
fn clone(&self) -> TraceField
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 TraceField
impl Debug for TraceField
Source§impl<'de> Deserialize<'de> for TraceField
impl<'de> Deserialize<'de> for TraceField
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 Display for TraceField
impl Display for TraceField
Source§impl FromStr for TraceField
impl FromStr for TraceField
Source§impl IntoEnumIterator for TraceField
impl IntoEnumIterator for TraceField
type Iterator = TraceFieldIter
fn iter() -> TraceFieldIter ⓘ
Source§impl JsonSchema for TraceField
impl JsonSchema for TraceField
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for TraceField
impl Ord for TraceField
Source§impl PartialEq for TraceField
impl PartialEq for TraceField
Source§impl PartialOrd for TraceField
impl PartialOrd for TraceField
Source§impl Serialize for TraceField
impl Serialize for TraceField
Source§impl TryFrom<&str> for TraceField
impl TryFrom<&str> for TraceField
impl Copy for TraceField
impl Eq for TraceField
impl StructuralPartialEq for TraceField
Auto Trait Implementations§
impl Freeze for TraceField
impl RefUnwindSafe for TraceField
impl Send for TraceField
impl Sync for TraceField
impl Unpin for TraceField
impl UnwindSafe for TraceField
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> SetterInput<Owned> for T
impl<T> SetterInput<Owned> for T
Source§fn set_pointer_builder(
pointer: PointerBuilder<'_>,
value: T,
_canonicalize: bool,
) -> Result<(), Error>
fn set_pointer_builder( pointer: PointerBuilder<'_>, value: T, _canonicalize: bool, ) -> Result<(), Error>
Copies the values from
input into builder, where builder
represents the backing memory of a <Receiver as Owned>::Builder. Read more