#[repr(C)]
pub struct Worker { pub is_current: bool, pub status: String, pub id: u64, pub short_desc: String, pub active_subprocess: String, pub current_size: u64, pub total_size: u64, pub complete: bool, }
Expand description

A simple representation of an Acquire worker.

TODO: Make this better.

Fields

is_current: boolstatus: Stringid: u64short_desc: Stringactive_subprocess: Stringcurrent_size: u64total_size: u64complete: bool

Trait Implementations

type Id

A type-level representation of the type’s C++ namespace and type name. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.