pub struct StorageReport {
pub disk: Option<DiskStats>,
pub recordings_bytes: i64,
pub segment_count: i64,
pub oldest_segment: Option<DateTime<Utc>>,
pub newest_segment: Option<DateTime<Utc>>,
pub write_rate_bytes_per_day: i64,
pub projected_days_remaining: Option<f64>,
}Fields§
§disk: Option<DiskStats>§recordings_bytes: i64§segment_count: i64§oldest_segment: Option<DateTime<Utc>>§newest_segment: Option<DateTime<Utc>>§write_rate_bytes_per_day: i64Bytes/day written over the last 24h of indexed segments (recent write rate).
projected_days_remaining: Option<f64>Projected days of free space remaining at the recent write rate (None if unknown/idle).
Trait Implementations§
Source§impl Clone for StorageReport
impl Clone for StorageReport
Source§fn clone(&self) -> StorageReport
fn clone(&self) -> StorageReport
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 StorageReport
impl Debug for StorageReport
Auto Trait Implementations§
impl Freeze for StorageReport
impl RefUnwindSafe for StorageReport
impl Send for StorageReport
impl Sync for StorageReport
impl Unpin for StorageReport
impl UnsafeUnpin for StorageReport
impl UnwindSafe for StorageReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more