Struct ashpd::flatpak::UpdateProgress[][src]

pub struct UpdateProgress {
    pub n_ops: Option<u32>,
    pub op: Option<u32>,
    pub progress: Option<u32>,
    pub status: Option<UpdateStatus>,
    pub error: Option<String>,
    pub error_message: Option<String>,
}
Expand description

A response of the update progress signal.

Fields

n_ops: Option<u32>

The number of operations that the update consists of.

op: Option<u32>

The position of the currently active operation.

progress: Option<u32>

The progress of the currently active operation, as a number between 0 and 100.

status: Option<UpdateStatus>

The overall status of the update.

error: Option<String>

The error name, sent when status is UpdateStatus::Failed.

error_message: Option<String>

The error message, sent when status is UpdateStatus::Failed.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Get the signature for the implementing type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.