pub enum BlockTransactionsKind {
Hashes,
Full,
}
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<BlockTransactionsKind> for bool
impl From<BlockTransactionsKind> for bool
source§fn from(kind: BlockTransactionsKind) -> Self
fn from(kind: BlockTransactionsKind) -> Self
Converts to this type from the input type.
source§impl From<bool> for BlockTransactionsKind
impl From<bool> for BlockTransactionsKind
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
)