pub struct StatsParams {
pub tenant_id: Option<String>,
}Expand description
Query parameters for the stats endpoint.
Fields§
§tenant_id: Option<String>Tenant to scope to (the gateway injects the authenticated tenant).
Absent = global, whole-store totals. That form is internal/admin only and
must never be reachable by a tenant — the gateway routes its public
GET /api/v1/stats through here with this parameter forced (#230).
Trait Implementations§
Source§impl Debug for StatsParams
impl Debug for StatsParams
Source§impl<'de> Deserialize<'de> for StatsParams
impl<'de> Deserialize<'de> for StatsParams
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 StatsParams
impl RefUnwindSafe for StatsParams
impl Send for StatsParams
impl Sync for StatsParams
impl Unpin for StatsParams
impl UnsafeUnpin for StatsParams
impl UnwindSafe for StatsParams
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