Struct sozu_command_lib::data::ConfigMessageAnswer
[−]
[src]
pub struct ConfigMessageAnswer {
pub id: String,
pub version: u8,
pub status: ConfigMessageStatus,
pub message: String,
pub data: Option<AnswerData>,
}Fields
id: String
version: u8
status: ConfigMessageStatus
message: String
data: Option<AnswerData>
Methods
impl ConfigMessageAnswer[src]
pub fn new(
id: String,
status: ConfigMessageStatus,
message: String,
data: Option<AnswerData>
) -> ConfigMessageAnswer[src]
id: String,
status: ConfigMessageStatus,
message: String,
data: Option<AnswerData>
) -> ConfigMessageAnswer
Trait Implementations
impl Debug for ConfigMessageAnswer[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for ConfigMessageAnswer[src]
fn clone(&self) -> ConfigMessageAnswer[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for ConfigMessageAnswer[src]
fn eq(&self, __arg_0: &ConfigMessageAnswer) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ConfigMessageAnswer) -> bool[src]
This method tests for !=.