Struct gapi_grpc::google::container::v1beta1::OperationProgress[][src]

pub struct OperationProgress {
    pub name: String,
    pub status: i32,
    pub metrics: Vec<Metric>,
    pub stages: Vec<OperationProgress>,
}

Information about operation (or operation stage) progress.

Fields

name: String

A non-parameterized string describing an operation stage. Unset for single-stage operations.

status: i32

Status of an operation stage. Unset for single-stage operations.

metrics: 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}]

stages: Vec<OperationProgress>

Substages of an operation or a stage.

Implementations

impl OperationProgress[src]

pub fn status(&self) -> Status[src]

Returns the enum value of status, or the default if the field is set to an invalid enum value.

pub fn set_status(&mut self, value: Status)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for OperationProgress[src]

impl Debug for OperationProgress[src]

impl Default for OperationProgress[src]

impl Message for OperationProgress[src]

impl PartialEq<OperationProgress> for OperationProgress[src]

impl StructuralPartialEq for OperationProgress[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]