[−][src]Struct ckb_types::core::TransactionInfo
TODO(doc): @quake
Fields
block_hash: Byte32
TODO(doc): @quake
block_number: BlockNumber
TODO(doc): @quake
block_epoch: EpochNumberWithFraction
TODO(doc): @quake
index: usize
TODO(doc): @quake
Implementations
impl TransactionInfo
[src]
pub fn key(&self) -> TransactionKey
[src]
TODO(doc): @quake
pub fn new(
block_number: BlockNumber,
block_epoch: EpochNumberWithFraction,
block_hash: Byte32,
index: usize
) -> Self
[src]
block_number: BlockNumber,
block_epoch: EpochNumberWithFraction,
block_hash: Byte32,
index: usize
) -> Self
TODO(doc): @quake
pub fn is_cellbase(&self) -> bool
[src]
TODO(doc): @quake
pub fn is_genesis(&self) -> bool
[src]
TODO(doc): @quake
Trait Implementations
impl Clone for TransactionInfo
[src]
fn clone(&self) -> TransactionInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TransactionInfo
[src]
impl Eq for TransactionInfo
[src]
impl Pack<TransactionInfo> for TransactionInfo
[src]
fn pack(&self) -> TransactionInfo
[src]
impl PartialEq<TransactionInfo> for TransactionInfo
[src]
fn eq(&self, other: &TransactionInfo) -> bool
[src]
fn ne(&self, other: &TransactionInfo) -> bool
[src]
impl StructuralEq for TransactionInfo
[src]
impl StructuralPartialEq for TransactionInfo
[src]
impl<'r> Unpack<TransactionInfo> for TransactionInfoReader<'r>
[src]
fn unpack(&self) -> TransactionInfo
[src]
impl Unpack<TransactionInfo> for TransactionInfo
[src]
fn unpack(&self) -> TransactionInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransactionInfo
impl Send for TransactionInfo
impl Sync for TransactionInfo
impl Unpin for TransactionInfo
impl UnwindSafe for TransactionInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,