pub struct Vertex {
pub codec_version: u16,
pub chain_id: Id,
pub height: u64,
pub epoch: u32,
pub parent_ids: Vec<Id>,
pub txs: Vec<Vec<u8>>,
}
Expand description
Vertex represents a set of transactions for Avalanche X-chain.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/snow/engine/avalanche/vertex#Build
Fields§
§codec_version: u16
§chain_id: Id
§height: u64
§epoch: u32
§parent_ids: Vec<Id>
§txs: Vec<Vec<u8>>
Trait Implementations§
source§impl PartialEq<Vertex> for Vertex
impl PartialEq<Vertex> for Vertex
impl Eq for Vertex
impl StructuralEq for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request