pub struct Stats {
pub kind: String,
pub name: String,
pub id: String,
pub version: String,
pub started: OffsetDateTime,
pub endpoints: Vec<Stats>,
}
Available on crate feature
service
only.Expand description
Response for STATS
requests.
Fields§
§kind: String
Response type.
name: String
Service name.
id: String
Service id.
version: String
§started: OffsetDateTime
§endpoints: Vec<Stats>
Statistics of all endpoints.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Stats
impl<'de> Deserialize<'de> for Stats
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 Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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