Struct flow_sdk::access::GetBlockHeaderByIdRequest [−][src]
pub struct GetBlockHeaderByIdRequest<Id> {
pub id: Id,
}
Expand description
Gets a block’s header by id.
Fields
id: Id
id 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<Id> RefUnwindSafe for GetBlockHeaderByIdRequest<Id> where
Id: RefUnwindSafe,
impl<Id> Send for GetBlockHeaderByIdRequest<Id> where
Id: Send,
impl<Id> Sync for GetBlockHeaderByIdRequest<Id> where
Id: Sync,
impl<Id> Unpin for GetBlockHeaderByIdRequest<Id> where
Id: Unpin,
impl<Id> UnwindSafe for GetBlockHeaderByIdRequest<Id> where
Id: UnwindSafe,
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