pub struct JsGetUpdatesPageResponse {
pub updates: Option<Vec<JsGetUpdateResponse>>,
pub lowest_page_offset_exclusive: i64,
pub highest_page_offset_inclusive: i64,
pub next_page_token: Option<String>,
}Fields§
§updates: Option<Vec<JsGetUpdateResponse>>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<String>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 JsGetUpdatesPageResponse
impl JsGetUpdatesPageResponse
pub fn new( lowest_page_offset_exclusive: i64, highest_page_offset_inclusive: i64, ) -> JsGetUpdatesPageResponse
Trait Implementations§
Source§impl Clone for JsGetUpdatesPageResponse
impl Clone for JsGetUpdatesPageResponse
Source§fn clone(&self) -> JsGetUpdatesPageResponse
fn clone(&self) -> JsGetUpdatesPageResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsGetUpdatesPageResponse
impl Debug for JsGetUpdatesPageResponse
Source§impl Default for JsGetUpdatesPageResponse
impl Default for JsGetUpdatesPageResponse
Source§fn default() -> JsGetUpdatesPageResponse
fn default() -> JsGetUpdatesPageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsGetUpdatesPageResponse
impl<'de> Deserialize<'de> for JsGetUpdatesPageResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsGetUpdatesPageResponse
impl PartialEq for JsGetUpdatesPageResponse
Source§impl Serialize for JsGetUpdatesPageResponse
impl Serialize for JsGetUpdatesPageResponse
impl StructuralPartialEq for JsGetUpdatesPageResponse
Auto Trait Implementations§
impl Freeze for JsGetUpdatesPageResponse
impl RefUnwindSafe for JsGetUpdatesPageResponse
impl Send for JsGetUpdatesPageResponse
impl Sync for JsGetUpdatesPageResponse
impl Unpin for JsGetUpdatesPageResponse
impl UnsafeUnpin for JsGetUpdatesPageResponse
impl UnwindSafe for JsGetUpdatesPageResponse
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
Mutably borrows from an owned value. Read more