Struct bigml::resource::GenericStatus
[−]
[src]
pub struct GenericStatus { pub code: StatusCode, pub message: String, pub elapsed: Option<u64>, pub progress: Option<f32>, // some fields omitted }
Status of a generic resource.
Fields
code: StatusCode
Status code.
message: String
Human-readable status message.
elapsed: Option<u64>
Number of milliseconds which were needed to create this resource.
progress: Option<f32>
Number between 0.0 and 1.0 representing the progress of creating this resource.
Trait Implementations
impl Debug for GenericStatus
[src]
impl Clone for GenericStatus
[src]
fn clone(&self) -> GenericStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Status for GenericStatus
[src]
fn code(&self) -> StatusCode
Status code.
fn message(&self) -> &str
Human-readable status message.
fn elapsed(&self) -> Option<u64>
Number of milliseconds which were needed to create this resource.
fn progress(&self) -> Option<f32>
Number between 0.0 and 1.0 representing the progress of creating this resource. Read more