Struct rocks::status::Status [] [src]

pub struct Status {
    pub code: Code,
    pub subcode: SubCode,
    pub status: String,
}

Fields

string indicating the message of the Status

Methods

impl Status
[src]

Create a success status.

Returns true iff the status indicates success.

Trait Implementations

impl Clone for Status
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Status
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Status
[src]

impl Hash for Status
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Status
[src]

Formats the value using the given formatter.

impl Display for Status
[src]

Formats the value using the given formatter. Read more