pub struct ServiceInfo {
pub type_name: String,
pub registration_info: String,
pub is_registered: bool,
pub resolution_count: usize,
pub last_resolved: Option<Instant>,
pub average_resolution_time: Option<Duration>,
}Expand description
Service information for inspection
Fields§
§type_name: String§registration_info: String§is_registered: bool§resolution_count: usize§last_resolved: Option<Instant>§average_resolution_time: Option<Duration>Trait Implementations§
Source§impl Clone for ServiceInfo
impl Clone for ServiceInfo
Source§fn clone(&self) -> ServiceInfo
fn clone(&self) -> ServiceInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServiceInfo
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnwindSafe for ServiceInfo
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