Struct flow_sdk::access::GetEventsForHeightRangeRequest [−][src]
pub struct GetEventsForHeightRangeRequest<EventTy> {
pub ty: EventTy,
pub start_height: u64,
pub end_height: u64,
}
Expand description
Search for events in a height range.
Fields
ty: EventTy
The type of the event we are looking for.
start_height: u64
The start of the height range.
end_height: u64
The end of the height range.
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> EncodableMessage for GetEventsForHeightRangeRequest<EventTy> where
EventTy: AsRef<str>,
impl<EventTy> EncodableMessage for GetEventsForHeightRangeRequest<EventTy> where
EventTy: AsRef<str>,
Auto Trait Implementations
impl<EventTy> RefUnwindSafe for GetEventsForHeightRangeRequest<EventTy> where
EventTy: RefUnwindSafe,
impl<EventTy> Send for GetEventsForHeightRangeRequest<EventTy> where
EventTy: Send,
impl<EventTy> Sync for GetEventsForHeightRangeRequest<EventTy> where
EventTy: Sync,
impl<EventTy> Unpin for GetEventsForHeightRangeRequest<EventTy> where
EventTy: Unpin,
impl<EventTy> UnwindSafe for GetEventsForHeightRangeRequest<EventTy> where
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