pub struct UsageReport {
pub report_id: String,
pub timestamp: String,
pub period_start: String,
pub period_end: String,
pub cluster_name: String,
pub databases: Option<Vec<DatabaseUsage>>,
pub nodes: Option<Vec<NodeUsage>>,
pub summary: Option<UsageSummary>,
pub extra: Value,
}
Expand description
Usage report
Fields§
§report_id: String
Unique identifier for this usage report
timestamp: String
Timestamp when the report was generated
period_start: String
Start time of the reporting period
period_end: String
End time of the reporting period
cluster_name: String
Name of the cluster
databases: Option<Vec<DatabaseUsage>>
Usage information for individual databases
nodes: Option<Vec<NodeUsage>>
Usage information for cluster nodes
summary: Option<UsageSummary>
Summary of overall usage across the cluster
extra: Value
Trait Implementations§
Source§impl Clone for UsageReport
impl Clone for UsageReport
Source§fn clone(&self) -> UsageReport
fn clone(&self) -> UsageReport
Returns a duplicate of the value. Read more
1.0.0 · 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 UsageReport
impl Debug for UsageReport
Source§impl<'de> Deserialize<'de> for UsageReport
impl<'de> Deserialize<'de> for UsageReport
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
Auto Trait Implementations§
impl Freeze for UsageReport
impl RefUnwindSafe for UsageReport
impl Send for UsageReport
impl Sync for UsageReport
impl Unpin for UsageReport
impl UnwindSafe for UsageReport
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