Struct lambda_extension::RuntimeDoneMetrics
source · pub struct RuntimeDoneMetrics {
pub duration_ms: f64,
pub produced_bytes: Option<u64>,
}
Expand description
Runtime done metrics
Fields§
§duration_ms: f64
Duration in milliseconds
produced_bytes: Option<u64>
Number of bytes produced as a result of the invocation
Trait Implementations§
source§impl Clone for RuntimeDoneMetrics
impl Clone for RuntimeDoneMetrics
source§fn clone(&self) -> RuntimeDoneMetrics
fn clone(&self) -> RuntimeDoneMetrics
Returns a copy 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 RuntimeDoneMetrics
impl Debug for RuntimeDoneMetrics
source§impl<'de> Deserialize<'de> for RuntimeDoneMetrics
impl<'de> Deserialize<'de> for RuntimeDoneMetrics
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 RuntimeDoneMetrics
impl PartialEq for RuntimeDoneMetrics
source§fn eq(&self, other: &RuntimeDoneMetrics) -> bool
fn eq(&self, other: &RuntimeDoneMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RuntimeDoneMetrics
impl Serialize for RuntimeDoneMetrics
impl StructuralPartialEq for RuntimeDoneMetrics
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeDoneMetrics
impl Send for RuntimeDoneMetrics
impl Sync for RuntimeDoneMetrics
impl Unpin for RuntimeDoneMetrics
impl UnwindSafe for RuntimeDoneMetrics
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