Struct ssip_client_async::types::StatusLine
source · pub struct StatusLine {
pub code: ReturnCode,
pub message: String,
}Expand description
Command status line
Consists in a 3-digits code and a message. It can be a success or a failure.
Examples:
- 216 OK OUTPUT MODULE SET
- 409 ERR RATE TOO HIGH
Fields§
§code: ReturnCode§message: StringTrait Implementations§
source§impl Debug for StatusLine
impl Debug for StatusLine
source§impl Display for StatusLine
impl Display for StatusLine
source§impl PartialEq<StatusLine> for StatusLine
impl PartialEq<StatusLine> for StatusLine
source§fn eq(&self, other: &StatusLine) -> bool
fn eq(&self, other: &StatusLine) -> bool
This method tests for
self and other values to be equal, and is used
by ==.