pub struct ViewPageParams {
pub session_id: String,
pub cursor: Option<String>,
pub anchor: Option<ViewPageAnchor>,
pub direction: Option<ViewPageDirection>,
pub limit: u32,
}Expand description
view/page params: cursor-paged reads of the session view.
Fields§
§session_id: StringThe session to page.
cursor: Option<String>The exclusive anchor. Forward: the page starts strictly after it;
omitted means from the beginning of the view. Backward: the page ends
strictly before it; omitted means from the head. Mutually exclusive with
anchor.
anchor: Option<ViewPageAnchor>The cold-client request mode, resolved at call time to the latest installed compaction boundary. The one named exception to the observed-only rule.
direction: Option<ViewPageDirection>Paging direction; forward when omitted.
limit: u32Maximum events to return, 1–1000. The server MAY return fewer.
The 1–1000 range is ratified and published: the model carries the
bound and the bundle renders minimum/maximum instead of a bare
integer.
Trait Implementations§
Source§impl Clone for ViewPageParams
impl Clone for ViewPageParams
Source§impl Debug for ViewPageParams
impl Debug for ViewPageParams
Source§impl<'de> Deserialize<'de> for ViewPageParams
impl<'de> Deserialize<'de> for ViewPageParams
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
impl Eq for ViewPageParams
Source§impl PartialEq for ViewPageParams
impl PartialEq for ViewPageParams
Source§impl Serialize for ViewPageParams
impl Serialize for ViewPageParams
impl StructuralPartialEq for ViewPageParams
Auto Trait Implementations§
impl Freeze for ViewPageParams
impl RefUnwindSafe for ViewPageParams
impl Send for ViewPageParams
impl Sync for ViewPageParams
impl Unpin for ViewPageParams
impl UnsafeUnpin for ViewPageParams
impl UnwindSafe for ViewPageParams
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