pub struct ReportPagination {
pub report_id: Uuid,
pub page: u32,
pub total_pages: u32,
}Expand description
Pagination metadata for a paginated report.
When a service needs to send a report that exceeds the WebSocket frame
limit, it splits the payload into pages. Each page carries the same
report_id and a 1-based page number out of total_pages.
The controller processes each page immediately (no payload buffering) and defers only lightweight finalization (e.g. notification emission) until the final page arrives.
Fields§
§report_id: UuidUnique identifier grouping all pages of the same logical report.
page: u321-based page number within the report.
total_pages: u32Total number of pages in the report (known upfront by the sender).
Trait Implementations§
Source§impl Clone for ReportPagination
impl Clone for ReportPagination
Source§fn clone(&self) -> ReportPagination
fn clone(&self) -> ReportPagination
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 moreimpl Copy for ReportPagination
Source§impl Debug for ReportPagination
impl Debug for ReportPagination
Source§impl<'de> Deserialize<'de> for ReportPagination
impl<'de> Deserialize<'de> for ReportPagination
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 ReportPagination
Source§impl PartialEq for ReportPagination
impl PartialEq for ReportPagination
Source§impl Serialize for ReportPagination
impl Serialize for ReportPagination
impl StructuralPartialEq for ReportPagination
Source§impl WireValidate for ReportPagination
impl WireValidate for ReportPagination
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Validate that all fields are within wire protocol size limits.
Auto Trait Implementations§
impl Freeze for ReportPagination
impl RefUnwindSafe for ReportPagination
impl Send for ReportPagination
impl Sync for ReportPagination
impl Unpin for ReportPagination
impl UnsafeUnpin for ReportPagination
impl UnwindSafe for ReportPagination
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.