#[non_exhaustive]pub struct ListFlowsPage {
pub flows: Vec<FlowSummary>,
pub next_cursor: Option<FlowId>,
}Expand description
One page of FlowSummary rows returned by
crate::engine_backend::EngineBackend::list_flows.
next_cursor is Some(last_flow_id) when at least one more row
may exist on the partition — callers forward it verbatim as the
next call’s cursor argument to continue iteration. None means
the listing is exhausted. Cursor semantics match the Postgres
WHERE flow_id > $cursor ORDER BY flow_id LIMIT $limit pattern
(see the trait method’s rustdoc).
#[non_exhaustive] — FF may add summary-level fields (total count,
partition hint) in future minor releases without a semver break.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.flows: Vec<FlowSummary>§next_cursor: Option<FlowId>Implementations§
Source§impl ListFlowsPage
impl ListFlowsPage
Sourcepub fn new(flows: Vec<FlowSummary>, next_cursor: Option<FlowId>) -> Self
pub fn new(flows: Vec<FlowSummary>, next_cursor: Option<FlowId>) -> Self
Construct a ListFlowsPage. Present so downstream crates can
assemble the struct despite the #[non_exhaustive] marker.
Trait Implementations§
Source§impl Clone for ListFlowsPage
impl Clone for ListFlowsPage
Source§fn clone(&self) -> ListFlowsPage
fn clone(&self) -> ListFlowsPage
Returns a duplicate of the value. Read more
1.0.0 · 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 ListFlowsPage
impl Debug for ListFlowsPage
Source§impl PartialEq for ListFlowsPage
impl PartialEq for ListFlowsPage
impl Eq for ListFlowsPage
impl StructuralPartialEq for ListFlowsPage
Auto Trait Implementations§
impl Freeze for ListFlowsPage
impl RefUnwindSafe for ListFlowsPage
impl Send for ListFlowsPage
impl Sync for ListFlowsPage
impl Unpin for ListFlowsPage
impl UnsafeUnpin for ListFlowsPage
impl UnwindSafe for ListFlowsPage
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