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 Debug for GenericStatus
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GenericStatus
[src]
impl Clone for GenericStatus
fn clone(&self) -> GenericStatus
[src]
fn clone(&self) -> GenericStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Status for GenericStatus
[src]
impl Status for GenericStatus
fn code(&self) -> StatusCode
[src]
fn code(&self) -> StatusCode
Status code.
fn message(&self) -> &str
[src]
fn message(&self) -> &str
Human-readable status message.
fn elapsed(&self) -> Option<u64>
[src]
fn elapsed(&self) -> Option<u64>
Number of milliseconds which were needed to create this resource.
fn progress(&self) -> Option<f32>
[src]
fn progress(&self) -> Option<f32>
Number between 0.0 and 1.0 representing the progress of creating this resource. Read more
Auto Trait Implementations
impl Send for GenericStatus
impl Send for GenericStatus
impl Sync for GenericStatus
impl Sync for GenericStatus