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]
impl ConfigMessage
pub fn new(
id: String,
data: ConfigCommand,
proxy_id: Option<u32>
) -> ConfigMessage
[src]
pub fn new(
id: String,
data: ConfigCommand,
proxy_id: Option<u32>
) -> ConfigMessage
Trait Implementations
impl Debug for ConfigMessage
[src]
impl Debug for ConfigMessage
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ConfigMessage
[src]
impl Clone for ConfigMessage
fn clone(&self) -> ConfigMessage
[src]
fn clone(&self) -> ConfigMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ConfigMessage
[src]
impl PartialEq for ConfigMessage
fn eq(&self, other: &ConfigMessage) -> bool
[src]
fn eq(&self, other: &ConfigMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ConfigMessage) -> bool
[src]
fn ne(&self, other: &ConfigMessage) -> bool
This method tests for !=
.
impl Eq for ConfigMessage
[src]
impl Eq for ConfigMessage
impl Hash for ConfigMessage
[src]
impl Hash for ConfigMessage
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<'de> Deserialize<'de> for ConfigMessage
[src]
impl<'de> Deserialize<'de> for ConfigMessage
fn deserialize<D>(deserializer: D) -> Result<ConfigMessage, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<ConfigMessage, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ConfigMessage
[src]
impl Serialize for ConfigMessage
Auto Trait Implementations
impl Send for ConfigMessage
impl Send for ConfigMessage
impl Sync for ConfigMessage
impl Sync for ConfigMessage