pub struct BlockMessage {
pub block_hash: Vec<u8>,
pub header: Header,
pub body: Body,
pub justifications: Vec<Justification>,
pub sender: Vec<u8>,
pub seq_num: i32,
pub sig: Vec<u8>,
pub sig_algorithm: String,
pub shard_id: String,
pub extra_bytes: Vec<u8>,
}Fields§
§block_hash: Vec<u8>§header: Header§body: Body§justifications: Vec<Justification>§sender: Vec<u8>§seq_num: i32§sig: Vec<u8>§sig_algorithm: String§shard_id: String§extra_bytes: Vec<u8>Auto Trait Implementations§
impl Freeze for BlockMessage
impl RefUnwindSafe for BlockMessage
impl Send for BlockMessage
impl Sync for BlockMessage
impl Unpin for BlockMessage
impl UnsafeUnpin for BlockMessage
impl UnwindSafe for BlockMessage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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