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
sourceimpl Clone for LogPlatformReportMetrics
impl Clone for LogPlatformReportMetrics
sourcefn clone(&self) -> LogPlatformReportMetrics
fn clone(&self) -> LogPlatformReportMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LogPlatformReportMetrics
impl Debug for LogPlatformReportMetrics
sourceimpl<'de> Deserialize<'de> for LogPlatformReportMetrics
impl<'de> Deserialize<'de> for LogPlatformReportMetrics
sourcefn 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
sourceimpl PartialEq<LogPlatformReportMetrics> for LogPlatformReportMetrics
impl PartialEq<LogPlatformReportMetrics> for LogPlatformReportMetrics
sourcefn eq(&self, other: &LogPlatformReportMetrics) -> bool
fn eq(&self, other: &LogPlatformReportMetrics) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more