Struct flow_sdk::access::GetLatestBlockHeaderRequest [−][src]
pub struct GetLatestBlockHeaderRequest {
pub seal: Seal,
}
Expand description
Gets the latest block’s header.
Fields
seal: Seal
Whether the response should be sealed.
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 GetLatestBlockHeaderRequest
impl Send for GetLatestBlockHeaderRequest
impl Sync for GetLatestBlockHeaderRequest
impl Unpin for GetLatestBlockHeaderRequest
impl UnwindSafe for GetLatestBlockHeaderRequest
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