pub struct GetBlockTransactions(/* private fields */);
Implementations§
Source§impl GetBlockTransactions
impl GetBlockTransactions
pub const FIELD_COUNT: usize = 3usize
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn block_hash(&self) -> Byte32
pub fn indexes(&self) -> Uint32Vec
pub fn uncle_indexes(&self) -> Uint32Vec
pub fn as_reader<'r>(&'r self) -> GetBlockTransactionsReader<'r>
Trait Implementations§
Source§impl Clone for GetBlockTransactions
impl Clone for GetBlockTransactions
Source§fn clone(&self) -> GetBlockTransactions
fn clone(&self) -> GetBlockTransactions
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 GetBlockTransactions
impl Debug for GetBlockTransactions
Source§impl Default for GetBlockTransactions
impl Default for GetBlockTransactions
Source§fn default() -> GetBlockTransactions
fn default() -> GetBlockTransactions
Returns the “default value” for a type. Read more
Source§impl Display for GetBlockTransactions
impl Display for GetBlockTransactions
Source§impl Entity for GetBlockTransactions
impl Entity for GetBlockTransactions
const NAME: &'static str = "GetBlockTransactions"
type Builder = GetBlockTransactionsBuilder
fn new_unchecked(data: Bytes) -> GetBlockTransactions
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<GetBlockTransactions, VerificationError>
fn from_compatible_slice( slice: &[u8], ) -> Result<GetBlockTransactions, VerificationError>
fn new_builder() -> <GetBlockTransactions as Entity>::Builder
fn as_builder(self) -> <GetBlockTransactions as Entity>::Builder
Source§impl From<GetBlockTransactions> for RelayMessageUnion
impl From<GetBlockTransactions> for RelayMessageUnion
Source§fn from(item: GetBlockTransactions) -> RelayMessageUnion
fn from(item: GetBlockTransactions) -> RelayMessageUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for GetBlockTransactions
impl RefUnwindSafe for GetBlockTransactions
impl Send for GetBlockTransactions
impl Sync for GetBlockTransactions
impl Unpin for GetBlockTransactions
impl UnwindSafe for GetBlockTransactions
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
)