pub struct JobProfile {
pub avg_duration_ms: u64,
pub p95_duration_ms: u64,
pub p99_duration_ms: u64,
pub peak_memory_mb: u32,
pub stateful: bool,
pub persistent_connections: bool,
pub sample_size: u32,
}Expand description
Complete profile of a job’s resource usage
Fields§
§avg_duration_ms: u64Average execution time in milliseconds
p95_duration_ms: u6495th percentile duration in milliseconds
p99_duration_ms: u6499th percentile duration in milliseconds
peak_memory_mb: u32Peak memory usage in megabytes
stateful: boolWhether the job maintains state between invocations
persistent_connections: boolWhether the job requires persistent connections
sample_size: u32Number of samples used to compute statistics
Trait Implementations§
Source§impl Clone for JobProfile
impl Clone for JobProfile
Source§fn clone(&self) -> JobProfile
fn clone(&self) -> JobProfile
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 JobProfile
impl Debug for JobProfile
Source§impl<'de> Deserialize<'de> for JobProfile
impl<'de> Deserialize<'de> for JobProfile
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
Source§impl PartialEq for JobProfile
impl PartialEq for JobProfile
Source§impl Serialize for JobProfile
impl Serialize for JobProfile
impl Eq for JobProfile
impl StructuralPartialEq for JobProfile
Auto Trait Implementations§
impl Freeze for JobProfile
impl RefUnwindSafe for JobProfile
impl Send for JobProfile
impl Sync for JobProfile
impl Unpin for JobProfile
impl UnsafeUnpin for JobProfile
impl UnwindSafe for JobProfile
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