Struct flow_sdk::access::GetBlockByHeightRequest [−][src]
pub struct GetBlockByHeightRequest {
pub height: u64,
}
Expand description
Gets full information about a block by its height.
Fields
height: u64
height of the block.
Trait Implementations
type Wire = LengthDelimitedWire
returns the size in bytes when encoded, including the field number.
fn encode_field<V>(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: V
) where
V: VarInt,
fn encode_field<V>(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: V
) where
V: VarInt,
The entry point to encoding Encodable
s in a message. Read more
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
Encodes a field using precomputed bytes for the field number and the wire type varint. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetBlockByHeightRequest
impl Send for GetBlockByHeightRequest
impl Sync for GetBlockByHeightRequest
impl Unpin for GetBlockByHeightRequest
impl UnwindSafe for GetBlockByHeightRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more