pub struct ProfilingSession {
pub session_id: Uuid,
pub name: String,
pub start_time: DateTime<Utc>,
pub end_time: Option<DateTime<Utc>>,
pub duration_ms: Option<u64>,
pub session_type: ProfilingSessionType,
pub config: ProfilingConfig,
pub stats: ProfilingStats,
}
Expand description
Profiling session
Fields§
§session_id: Uuid
Session ID
name: String
Session name
start_time: DateTime<Utc>
Start time
end_time: Option<DateTime<Utc>>
End time
duration_ms: Option<u64>
Duration
session_type: ProfilingSessionType
Session type
config: ProfilingConfig
Configuration used
stats: ProfilingStats
Session statistics
Trait Implementations§
Source§impl Clone for ProfilingSession
impl Clone for ProfilingSession
Source§fn clone(&self) -> ProfilingSession
fn clone(&self) -> ProfilingSession
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 ProfilingSession
impl Debug for ProfilingSession
Source§impl<'de> Deserialize<'de> for ProfilingSession
impl<'de> Deserialize<'de> for ProfilingSession
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 ProfilingSession
impl RefUnwindSafe for ProfilingSession
impl Send for ProfilingSession
impl Sync for ProfilingSession
impl Unpin for ProfilingSession
impl UnwindSafe for ProfilingSession
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