Make Mode fields publicly accessible
This commit is contained in:
parent
10bbe99582
commit
5c004e9365
1 changed files with 4 additions and 4 deletions
|
|
@ -52,10 +52,10 @@ pub enum ArpResponses {
|
||||||
|
|
||||||
#[derive(Copy, Clone, PartialEq)]
|
#[derive(Copy, Clone, PartialEq)]
|
||||||
pub struct Mode {
|
pub struct Mode {
|
||||||
on_wake_on_lan: OnWakeOnLan,
|
pub on_wake_on_lan: OnWakeOnLan,
|
||||||
on_ping_request: OnPingRequest,
|
pub on_ping_request: OnPingRequest,
|
||||||
connection_type: ConnectionType,
|
pub connection_type: ConnectionType,
|
||||||
arp_responses: ArpResponses,
|
pub arp_responses: ArpResponses,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for Mode {
|
impl Default for Mode {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue