Struct async_nats::service::Stats
source · 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: StringResponse type.
name: StringService name.
id: StringService 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 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