pub struct UtilizationReport {
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub error: Option<Status>,
pub frame_end_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub state: Option<String>,
pub state_time: Option<DateTime<Utc>>,
pub time_frame: Option<String>,
pub vm_count: Option<i32>,
pub vms: Option<Vec<VmUtilizationInfo>>,
}Expand description
Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§create_time: Option<DateTime<Utc>>Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed).
display_name: Option<String>The report display name, as assigned by the user.
error: Option<Status>Output only. Provides details on the state of the report in case of an error.
frame_end_time: Option<DateTime<Utc>>Output only. The point in time when the time frame ends. Notice that the time frame is counted backwards. For instance if the “frame_end_time” value is 2021/01/20 and the time frame is WEEK then the report covers the week between 2021/01/20 and 2021/01/14.
name: Option<String>Output only. The report unique name.
state: Option<String>Output only. Current state of the report.
state_time: Option<DateTime<Utc>>Output only. The time the state was last set.
time_frame: Option<String>Time frame of the report.
vm_count: Option<i32>Output only. Total number of VMs included in the report.
vms: Option<Vec<VmUtilizationInfo>>List of utilization information per VM. When sent as part of the request, the “vm_id” field is used in order to specify which VMs to include in the report. In that case all other fields are ignored.
Trait Implementations§
Source§impl Clone for UtilizationReport
impl Clone for UtilizationReport
Source§fn clone(&self) -> UtilizationReport
fn clone(&self) -> UtilizationReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UtilizationReport
impl Debug for UtilizationReport
Source§impl Default for UtilizationReport
impl Default for UtilizationReport
Source§fn default() -> UtilizationReport
fn default() -> UtilizationReport
Source§impl<'de> Deserialize<'de> for UtilizationReport
impl<'de> Deserialize<'de> for UtilizationReport
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>,
Source§impl Serialize for UtilizationReport
impl Serialize for UtilizationReport
impl RequestValue for UtilizationReport
impl ResponseResult for UtilizationReport
Auto Trait Implementations§
impl Freeze for UtilizationReport
impl RefUnwindSafe for UtilizationReport
impl Send for UtilizationReport
impl Sync for UtilizationReport
impl Unpin for UtilizationReport
impl UnwindSafe for UtilizationReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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