pub struct LogPlatformReportMetrics {
pub duration_ms: f64,
pub billed_duration_ms: u64,
pub memory_size_mb: u64,
pub max_memory_used_mb: u64,
pub init_duration_ms: Option<f64>,
}
Expand description
Platform report metrics
Fields§
§duration_ms: f64
Duration in milliseconds
billed_duration_ms: u64
Billed duration in milliseconds
memory_size_mb: u64
Memory allocated in megabytes
max_memory_used_mb: u64
Maximum memory used for the invoke in megabytes
init_duration_ms: Option<f64>
Init duration in case of a cold start
Trait Implementations§
source§impl Clone for LogPlatformReportMetrics
impl Clone for LogPlatformReportMetrics
source§fn clone(&self) -> LogPlatformReportMetrics
fn clone(&self) -> LogPlatformReportMetrics
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 LogPlatformReportMetrics
impl Debug for LogPlatformReportMetrics
source§impl<'de> Deserialize<'de> for LogPlatformReportMetrics
impl<'de> Deserialize<'de> for LogPlatformReportMetrics
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 LogPlatformReportMetrics
impl PartialEq for LogPlatformReportMetrics
source§fn eq(&self, other: &LogPlatformReportMetrics) -> bool
fn eq(&self, other: &LogPlatformReportMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogPlatformReportMetrics
Auto Trait Implementations§
impl RefUnwindSafe for LogPlatformReportMetrics
impl Send for LogPlatformReportMetrics
impl Sync for LogPlatformReportMetrics
impl Unpin for LogPlatformReportMetrics
impl UnwindSafe for LogPlatformReportMetrics
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