pub struct OperationEvent {
pub operation_type: OperationType,
pub name: String,
pub start_time: Instant,
pub duration: Duration,
pub metadata: HashMap<String, String>,
}
Expand description
Runtime operation event
Fields§
§operation_type: OperationType
§name: String
§start_time: Instant
§duration: Duration
§metadata: HashMap<String, String>
Trait Implementations§
Source§impl Clone for OperationEvent
impl Clone for OperationEvent
Source§fn clone(&self) -> OperationEvent
fn clone(&self) -> OperationEvent
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 OperationEvent
impl RefUnwindSafe for OperationEvent
impl Send for OperationEvent
impl Sync for OperationEvent
impl Unpin for OperationEvent
impl UnwindSafe for OperationEvent
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