pub struct StatsOut {
pub admin: Option<bool>,
pub metrics: Option<Value>,
pub statistics: Option<Box<StatsSessions>>,
}Fields§
§admin: Option<bool>Admin is the upstream service’s server-panel flag, always false here.
metrics: Option<Value>Metrics is the upstream transactor’s metrics block. This server does not populate it, so it is always the empty object — the front reads the key, not its contents.
statistics: Option<Box<StatsSessions>>Statistics carries the live sessions.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatsOut
impl<'de> Deserialize<'de> for StatsOut
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 StructuralPartialEq for StatsOut
Auto Trait Implementations§
impl Freeze for StatsOut
impl RefUnwindSafe for StatsOut
impl Send for StatsOut
impl Sync for StatsOut
impl Unpin for StatsOut
impl UnsafeUnpin for StatsOut
impl UnwindSafe for StatsOut
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