pub struct ServiceCall {
pub service: String,
pub count: i64,
pub avg_duration: f64,
pub error_rate: f64,
}Expand description
A call from one service to another
Fields§
§service: StringTarget service name
count: i64Call count
avg_duration: f64Average duration
error_rate: f64Error rate
Trait Implementations§
Source§impl Clone for ServiceCall
impl Clone for ServiceCall
Source§fn clone(&self) -> ServiceCall
fn clone(&self) -> ServiceCall
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 moreSource§impl Debug for ServiceCall
impl Debug for ServiceCall
Source§impl<'de> Deserialize<'de> for ServiceCall
impl<'de> Deserialize<'de> for ServiceCall
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 ServiceCall
impl RefUnwindSafe for ServiceCall
impl Send for ServiceCall
impl Sync for ServiceCall
impl Unpin for ServiceCall
impl UnwindSafe for ServiceCall
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