pub struct FileSystemSize {
pub timestamp: Option<f64>,
pub value: i64,
}
Latest known metered size (in bytes) of data stored in the file system, in its Value
field, and the time at which that size was determined in its Timestamp
field. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent the actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not necessarily the exact size the file system was at any instant in time.
Time at which the size of data, returned in the Value
field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z.
Latest known metered size (in bytes) of data stored in the file system.
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.