pub enum BlockTransactionsKind {
Hashes,
Full,
}
Available on crate feature
eth
only.Expand description
Determines how the transactions
field of block should be filled.
This essentially represents the full:bool
argument in RPC calls that determine whether the
response should include full transaction objects or just the hashes.
Variants§
Hashes
Only include hashes: BlockTransactions::Hashes
Full
Include full transaction objects: BlockTransactions::Full
Trait Implementations§
source§impl Clone for BlockTransactionsKind
impl Clone for BlockTransactionsKind
source§fn clone(&self) -> BlockTransactionsKind
fn clone(&self) -> BlockTransactionsKind
Returns a copy 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 BlockTransactionsKind
impl Debug for BlockTransactionsKind
source§impl Default for BlockTransactionsKind
impl Default for BlockTransactionsKind
source§fn default() -> BlockTransactionsKind
fn default() -> BlockTransactionsKind
Returns the “default value” for a type. Read more
source§impl From<bool> for BlockTransactionsKind
impl From<bool> for BlockTransactionsKind
source§fn from(is_full: bool) -> BlockTransactionsKind
fn from(is_full: bool) -> BlockTransactionsKind
Converts to this type from the input type.
source§impl PartialEq for BlockTransactionsKind
impl PartialEq for BlockTransactionsKind
impl Copy for BlockTransactionsKind
impl Eq for BlockTransactionsKind
impl StructuralPartialEq for BlockTransactionsKind
Auto Trait Implementations§
impl Freeze for BlockTransactionsKind
impl RefUnwindSafe for BlockTransactionsKind
impl Send for BlockTransactionsKind
impl Sync for BlockTransactionsKind
impl Unpin for BlockTransactionsKind
impl UnwindSafe for BlockTransactionsKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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