pub struct Subnet {
pub ip: IpAddr,
pub mask: u8,
pub gateway: IpAddr,
pub server_ip: Option<Ipv4Addr>,
pub server_id: u32,
pub failover: bool,
pub locked: bool,
pub vswitch_id: Option<u32>,
pub traffic_warnings: TrafficWarnings,
}Fields
ip: IpAddrmask: u8gateway: IpAddrserver_ip: Option<Ipv4Addr>server_id: u32failover: boollocked: boolvswitch_id: Option<u32>traffic_warnings: TrafficWarningsTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Subnet
impl UnwindSafe for Subnet
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more