pub struct ProjectStats {
pub id: String,
pub name: String,
pub last_duration: String,
pub avg_cpu: f32,
pub avg_mem: f32,
pub max_cpu: f32,
pub max_mem: f32,
pub mem_kb: u64,
pub runs: usize,
pub last_logs: Vec<String>,
}
Fields§
§id: String
§name: String
§last_duration: String
§avg_cpu: f32
§avg_mem: f32
§max_cpu: f32
§max_mem: f32
§mem_kb: u64
§runs: usize
§last_logs: Vec<String>
Trait Implementations§
Source§impl Debug for ProjectStats
impl Debug for ProjectStats
Source§impl<'de> Deserialize<'de> for ProjectStats
impl<'de> Deserialize<'de> for ProjectStats
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 ProjectStats
impl PartialEq for ProjectStats
impl StructuralPartialEq for ProjectStats
Auto Trait Implementations§
impl Freeze for ProjectStats
impl RefUnwindSafe for ProjectStats
impl Send for ProjectStats
impl Sync for ProjectStats
impl Unpin for ProjectStats
impl UnwindSafe for ProjectStats
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more