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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LogPlatformReportMetrics) -> bool
fn ne(&self, other: &LogPlatformReportMetrics) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more