pub struct LoadSnapshot {
pub at: Instant,
pub overloaded: bool,
}Expand description
A point-in-time overload observation from a load signal.
Fields§
§at: InstantThe Tokio-clock instant at which the observation was captured.
overloaded: boolWhether the signal was overloaded at that instant.
Trait Implementations§
Source§impl Clone for LoadSnapshot
impl Clone for LoadSnapshot
Source§fn clone(&self) -> LoadSnapshot
fn clone(&self) -> LoadSnapshot
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 moreimpl Copy for LoadSnapshot
Source§impl Debug for LoadSnapshot
impl Debug for LoadSnapshot
impl Eq for LoadSnapshot
Source§impl PartialEq for LoadSnapshot
impl PartialEq for LoadSnapshot
impl StructuralPartialEq for LoadSnapshot
Auto Trait Implementations§
impl Freeze for LoadSnapshot
impl RefUnwindSafe for LoadSnapshot
impl Send for LoadSnapshot
impl Sync for LoadSnapshot
impl Unpin for LoadSnapshot
impl UnsafeUnpin for LoadSnapshot
impl UnwindSafe for LoadSnapshot
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