Struct uhppote_rs::DeviceConfig
source · [−]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 RefUnwindSafe for DeviceConfig
impl Send for DeviceConfig
impl Sync for DeviceConfig
impl Unpin for DeviceConfig
impl UnwindSafe for DeviceConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more