Struct google_container1::api::OperationProgress
source · pub struct OperationProgress {
pub metrics: Option<Vec<Metric>>,
pub name: Option<String>,
pub stages: Option<Vec<OperationProgress>>,
pub status: Option<String>,
}
Expand description
Information about operation (or operation stage) progress.
This type is not used in any activity, and only used as part of another schema.
Fields§
§metrics: Option<Vec<Metric>>
Progress metric bundle, for example: metrics: [{name: “nodes done”, int_value: 15}, {name: “nodes total”, int_value: 32}] or metrics: [{name: “progress”, double_value: 0.56}, {name: “progress scale”, double_value: 1.0}]
name: Option<String>
A non-parameterized string describing an operation stage. Unset for single-stage operations.
stages: Option<Vec<OperationProgress>>
Substages of an operation or a stage.
status: Option<String>
Status of an operation stage. Unset for single-stage operations.
Trait Implementations§
source§impl Clone for OperationProgress
impl Clone for OperationProgress
source§fn clone(&self) -> OperationProgress
fn clone(&self) -> OperationProgress
Returns a copy 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 OperationProgress
impl Debug for OperationProgress
source§impl Default for OperationProgress
impl Default for OperationProgress
source§fn default() -> OperationProgress
fn default() -> OperationProgress
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OperationProgress
impl<'de> Deserialize<'de> for OperationProgress
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 Serialize for OperationProgress
impl Serialize for OperationProgress
impl Part for OperationProgress
Auto Trait Implementations§
impl RefUnwindSafe for OperationProgress
impl Send for OperationProgress
impl Sync for OperationProgress
impl Unpin for OperationProgress
impl UnwindSafe for OperationProgress
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