Struct sozu_command_lib::data::ConfigMessage
[−]
[src]
pub struct ConfigMessage { pub id: String, pub version: u8, pub data: ConfigCommand, pub proxy: Option<String>, pub proxy_id: Option<u32>, }
Fields
id: String
version: u8
data: ConfigCommand
proxy: Option<String>
proxy_id: Option<u32>
Methods
impl ConfigMessage
[src]
fn new(id: String,
data: ConfigCommand,
proxy: Option<String>,
proxy_id: Option<u32>)
-> ConfigMessage
data: ConfigCommand,
proxy: Option<String>,
proxy_id: Option<u32>)
-> ConfigMessage
Trait Implementations
impl Debug for ConfigMessage
[src]
impl Clone for ConfigMessage
[src]
fn clone(&self) -> ConfigMessage
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 PartialEq for ConfigMessage
[src]
fn eq(&self, __arg_0: &ConfigMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConfigMessage) -> bool
This method tests for !=
.
impl Eq for ConfigMessage
[src]
impl Hash for ConfigMessage
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Deserialize for ConfigMessage
[src]
fn deserialize<D>(deserializer: D) -> Result<ConfigMessage, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more