derive Eq for config
This commit is contained in:
parent
ccdcd9df17
commit
439092dc59
@ -25,7 +25,7 @@ pub enum Event {
|
|||||||
Configured(Config),
|
Configured(Config),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
pub address: Ipv4Cidr,
|
pub address: Ipv4Cidr,
|
||||||
pub gateway: Option<Ipv4Address>,
|
pub gateway: Option<Ipv4Address>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user