pub struct PhaseTelemetry {
pub phase: JobPhase,
pub duration_ms: u64,
pub resident_memory_bytes: u64,
}Expand description
Duration and memory observation for one completed worker phase.
Fields§
§phase: JobPhaseCompleted phase.
duration_ms: u64Wall time spent in the phase.
resident_memory_bytes: u64Resident memory of the worker process when the phase completed.
Trait Implementations§
Source§impl Clone for PhaseTelemetry
impl Clone for PhaseTelemetry
Source§impl Debug for PhaseTelemetry
impl Debug for PhaseTelemetry
Source§impl<'de> Deserialize<'de> for PhaseTelemetry
impl<'de> Deserialize<'de> for PhaseTelemetry
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
impl Eq for PhaseTelemetry
Source§impl JsonSchema for PhaseTelemetry
impl JsonSchema for PhaseTelemetry
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PhaseTelemetry
impl PartialEq for PhaseTelemetry
Source§impl Serialize for PhaseTelemetry
impl Serialize for PhaseTelemetry
impl StructuralPartialEq for PhaseTelemetry
Auto Trait Implementations§
impl Freeze for PhaseTelemetry
impl RefUnwindSafe for PhaseTelemetry
impl Send for PhaseTelemetry
impl Sync for PhaseTelemetry
impl Unpin for PhaseTelemetry
impl UnsafeUnpin for PhaseTelemetry
impl UnwindSafe for PhaseTelemetry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.