pub struct StatsParams {
pub include_connector_errors: bool,
}Expand description
Query parameters to the /stats endpoint.
Fields§
§include_connector_errors: boolWhen true, include the most recent error messages for each endpoint
in the response (up to MAX_CONNECTOR_ERRORS per list). Default is
false so that callers polling /stats keep getting a lightweight
response. This selector is intended for the support-bundle collector.
Trait Implementations§
Source§impl Debug for StatsParams
impl Debug for StatsParams
Source§impl Default for StatsParams
impl Default for StatsParams
Source§fn default() -> StatsParams
fn default() -> StatsParams
Returns the “default value” for a type. Read more
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§
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