pub struct PluginInvokeAggregateRow {
pub attachment_id: Option<String>,
pub plugin_name: Option<String>,
pub plugin_version: Option<String>,
pub invoke_ms: i64,
pub memory_peak_mb: Option<i64>,
}Expand description
One row of the per-attachment plugin-invoke aggregate. Strings are
Option<String> because the metadata fields are text-extracted from
JSONB (->>), which yields NULL when the key is absent rather than
erroring — we’d rather degrade gracefully than reject the whole
query if a single row was misshapen.
Fields§
§attachment_id: Option<String>§plugin_name: Option<String>§plugin_version: Option<String>§invoke_ms: i64§memory_peak_mb: Option<i64>Trait Implementations§
Source§impl Clone for PluginInvokeAggregateRow
impl Clone for PluginInvokeAggregateRow
Source§fn clone(&self) -> PluginInvokeAggregateRow
fn clone(&self) -> PluginInvokeAggregateRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginInvokeAggregateRow
impl Debug for PluginInvokeAggregateRow
Source§impl<'a, R> FromRow<'a, R> for PluginInvokeAggregateRow
impl<'a, R> FromRow<'a, R> for PluginInvokeAggregateRow
Auto Trait Implementations§
impl Freeze for PluginInvokeAggregateRow
impl RefUnwindSafe for PluginInvokeAggregateRow
impl Send for PluginInvokeAggregateRow
impl Sync for PluginInvokeAggregateRow
impl Unpin for PluginInvokeAggregateRow
impl UnsafeUnpin for PluginInvokeAggregateRow
impl UnwindSafe for PluginInvokeAggregateRow
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.