pub struct GetUpdatesPageResponse {
pub updates: Vec<GetUpdateResponse>,
pub lowest_page_offset_exclusive: i64,
pub highest_page_offset_inclusive: i64,
pub next_page_token: Option<Vec<u8>>,
}Fields§
§updates: Vec<GetUpdateResponse>The first max_page_size updates that match the filter in the request. In case descending_order was selected, the order of the updates is in reversed offset order.
Optional: can be empty
lowest_page_offset_exclusive: i64Represents the lower bound of this page.
Required
highest_page_offset_inclusive: i64Represents the upper bound of the page.
Required
next_page_token: Option<Vec<u8>>If the value is not populated, this is the last page.
If the value is populated, this token can be used to get the next page.
If the original GetFirstUpdatePageRequest end_offset_inclusive was not specified and the request uses
ascending order, then this token will always be populated, so you can use it to “tail” the ledger by
repeatedly polling with the new page token returned.
Optional: can be empty
Implementations§
Source§impl GetUpdatesPageResponse
impl GetUpdatesPageResponse
Sourcepub fn next_page_token(&self) -> &[u8] ⓘ
pub fn next_page_token(&self) -> &[u8] ⓘ
Returns the value of next_page_token, or the default value if next_page_token is unset.
Trait Implementations§
Source§impl Clone for GetUpdatesPageResponse
impl Clone for GetUpdatesPageResponse
Source§fn clone(&self) -> GetUpdatesPageResponse
fn clone(&self) -> GetUpdatesPageResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetUpdatesPageResponse
impl Debug for GetUpdatesPageResponse
Source§impl Default for GetUpdatesPageResponse
impl Default for GetUpdatesPageResponse
Source§fn default() -> GetUpdatesPageResponse
fn default() -> GetUpdatesPageResponse
Source§impl Message for GetUpdatesPageResponse
impl Message for GetUpdatesPageResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for GetUpdatesPageResponse
impl PartialEq for GetUpdatesPageResponse
impl StructuralPartialEq for GetUpdatesPageResponse
Auto Trait Implementations§
impl Freeze for GetUpdatesPageResponse
impl RefUnwindSafe for GetUpdatesPageResponse
impl Send for GetUpdatesPageResponse
impl Sync for GetUpdatesPageResponse
impl Unpin for GetUpdatesPageResponse
impl UnsafeUnpin for GetUpdatesPageResponse
impl UnwindSafe for GetUpdatesPageResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request