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