Struct flow_sdk::access::GetEventsForBlockIdsRequest [−][src]
pub struct GetEventsForBlockIdsRequest<EventTy, BlockIds> {
pub ty: EventTy,
pub block_ids: BlockIds,
}
Expand description
Search for events in a collection of blocks specified by its block id.
Fields
ty: EventTy
The type of the event we are looking for.
block_ids: BlockIds
The IDs of the blocks.
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
impl<EventTy, BlockIds> FlowRequest<EventsResponse> for GetEventsForBlockIdsRequest<EventTy, BlockIds>
impl<EventTy, BlockIds> FlowRequest<EventsResponse> for GetEventsForBlockIdsRequest<EventTy, BlockIds>
Auto Trait Implementations
impl<EventTy, BlockIds> RefUnwindSafe for GetEventsForBlockIdsRequest<EventTy, BlockIds> where
BlockIds: RefUnwindSafe,
EventTy: RefUnwindSafe,
impl<EventTy, BlockIds> Send for GetEventsForBlockIdsRequest<EventTy, BlockIds> where
BlockIds: Send,
EventTy: Send,
impl<EventTy, BlockIds> Sync for GetEventsForBlockIdsRequest<EventTy, BlockIds> where
BlockIds: Sync,
EventTy: Sync,
impl<EventTy, BlockIds> Unpin for GetEventsForBlockIdsRequest<EventTy, BlockIds> where
BlockIds: Unpin,
EventTy: Unpin,
impl<EventTy, BlockIds> UnwindSafe for GetEventsForBlockIdsRequest<EventTy, BlockIds> where
BlockIds: UnwindSafe,
EventTy: 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