pub struct DeviceConfig {
pub id: u32,
pub address: Ipv4Addr,
pub subnet: Ipv4Addr,
pub gateway: Ipv4Addr,
pub mac: String,
pub version: String,
pub date: NaiveDate,
}
Expand description
Configuration of a [Device
]
Fields§
§id: u32
§address: Ipv4Addr
§subnet: Ipv4Addr
§gateway: Ipv4Addr
§mac: String
§version: String
§date: NaiveDate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceConfig
impl RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin for DeviceConfig
impl UnwindSafe for DeviceConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more