pub struct ServiceLatency {
pub sampling: SamplingRate,
pub results: String,
}Expand description
Latency-sampling configuration for an exported service.
Fields§
§sampling: SamplingRateSampling rate (headers or a percentage).
results: StringSubject latency measurements are published to.
Trait Implementations§
Source§impl Clone for ServiceLatency
impl Clone for ServiceLatency
Source§fn clone(&self) -> ServiceLatency
fn clone(&self) -> ServiceLatency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceLatency
impl RefUnwindSafe for ServiceLatency
impl Send for ServiceLatency
impl Sync for ServiceLatency
impl Unpin for ServiceLatency
impl UnsafeUnpin for ServiceLatency
impl UnwindSafe for ServiceLatency
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