pub struct StateAccountingInfo {
pub duration_us: String,
pub transitions: String,
}Expand description
Information about the time the server spends in server state. This can be useful for tracking the long-term health of your server’s connectivity to the network.
Fields§
§duration_us: StringThe number of microseconds the server has spent in this state. (This is updated whenever the server transitions into another state.)
transitions: StringThe number of times the server has changed into this state.
Trait Implementations§
Source§impl Debug for StateAccountingInfo
impl Debug for StateAccountingInfo
Source§impl<'de> Deserialize<'de> for StateAccountingInfo
impl<'de> Deserialize<'de> for StateAccountingInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StateAccountingInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StateAccountingInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StateAccountingInfo
impl RefUnwindSafe for StateAccountingInfo
impl Send for StateAccountingInfo
impl Sync for StateAccountingInfo
impl Unpin for StateAccountingInfo
impl UnwindSafe for StateAccountingInfo
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