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 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 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
impl StructuralPartialEq for LogPlatformReportMetrics
Auto Trait Implementations§
impl Freeze for LogPlatformReportMetrics
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