pub struct ProjectionStateSummaryParams {
pub limit: Option<usize>,
pub offset: Option<usize>,
pub entity_id_prefix: Option<String>,
}Expand description
Query parameters for GET /api/v1/projections/{name}/state.
All optional: with none of them set the endpoint keeps its historical
behaviour of returning every cached entity for the projection, so existing
callers (the Query Service’s ProjectionServer hydration, the SDKs) are
unaffected. Names match ListEntitiesRequest for consistency.
Fields§
§limit: Option<usize>Maximum number of entity states to return. Unbounded when absent.
offset: Option<usize>Number of matching states to skip before applying limit. Default 0.
entity_id_prefix: Option<String>Return only entities whose id starts with this prefix — lets a caller walk one shard of the keyspace without enumerating the whole projection.
Trait Implementations§
Source§impl Debug for ProjectionStateSummaryParams
impl Debug for ProjectionStateSummaryParams
Source§impl<'de> Deserialize<'de> for ProjectionStateSummaryParams
impl<'de> Deserialize<'de> for ProjectionStateSummaryParams
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
Auto Trait Implementations§
impl Freeze for ProjectionStateSummaryParams
impl RefUnwindSafe for ProjectionStateSummaryParams
impl Send for ProjectionStateSummaryParams
impl Sync for ProjectionStateSummaryParams
impl Unpin for ProjectionStateSummaryParams
impl UnsafeUnpin for ProjectionStateSummaryParams
impl UnwindSafe for ProjectionStateSummaryParams
Blanket Implementations§
impl<T> Allocation for T
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