pub struct RemoteStoreUploadStats {
pub total_time_spent: Option<String>,
pub max_refresh_time_lag: Option<String>,
pub total_time_spent_in_millis: String,
pub total_upload_size: RemoteStoreUploadDownloadStats,
pub pressure: Option<RemoteStoreUploadPressureStats>,
pub refresh_size_lag: RemoteStoreUploadRefreshSizeLagStats,
pub max_refresh_time_lag_in_millis: String,
}Expand description
RemoteStoreUploadStats Statistics related to uploads to the remote segment store.
Fields§
§total_time_spent: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
max_refresh_time_lag: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
total_time_spent_in_millis: String§total_upload_size: RemoteStoreUploadDownloadStatsThe amount of data, in bytes, uploaded or downloaded to/from the remote segment store.
pressure: Option<RemoteStoreUploadPressureStats>Statistics related to segment store upload backpressure.
refresh_size_lag: RemoteStoreUploadRefreshSizeLagStatsThe amount of lag during upload between the remote segment store and the local store.
max_refresh_time_lag_in_millis: StringImplementations§
Source§impl RemoteStoreUploadStats
impl RemoteStoreUploadStats
Sourcepub fn new(
total_time_spent_in_millis: String,
total_upload_size: RemoteStoreUploadDownloadStats,
refresh_size_lag: RemoteStoreUploadRefreshSizeLagStats,
max_refresh_time_lag_in_millis: String,
) -> RemoteStoreUploadStats
pub fn new( total_time_spent_in_millis: String, total_upload_size: RemoteStoreUploadDownloadStats, refresh_size_lag: RemoteStoreUploadRefreshSizeLagStats, max_refresh_time_lag_in_millis: String, ) -> RemoteStoreUploadStats
Statistics related to uploads to the remote segment store.
Trait Implementations§
Source§impl Clone for RemoteStoreUploadStats
impl Clone for RemoteStoreUploadStats
Source§fn clone(&self) -> RemoteStoreUploadStats
fn clone(&self) -> RemoteStoreUploadStats
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 RemoteStoreUploadStats
impl Debug for RemoteStoreUploadStats
Source§impl Default for RemoteStoreUploadStats
impl Default for RemoteStoreUploadStats
Source§fn default() -> RemoteStoreUploadStats
fn default() -> RemoteStoreUploadStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteStoreUploadStats
impl<'de> Deserialize<'de> for RemoteStoreUploadStats
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 RemoteStoreUploadStats
impl PartialEq for RemoteStoreUploadStats
Source§fn eq(&self, other: &RemoteStoreUploadStats) -> bool
fn eq(&self, other: &RemoteStoreUploadStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RemoteStoreUploadStats
impl Serialize for RemoteStoreUploadStats
impl StructuralPartialEq for RemoteStoreUploadStats
Auto Trait Implementations§
impl Freeze for RemoteStoreUploadStats
impl RefUnwindSafe for RemoteStoreUploadStats
impl Send for RemoteStoreUploadStats
impl Sync for RemoteStoreUploadStats
impl Unpin for RemoteStoreUploadStats
impl UnsafeUnpin for RemoteStoreUploadStats
impl UnwindSafe for RemoteStoreUploadStats
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