From 94d26cb15dccbd1504346dd5ad4245f5d0f5870f Mon Sep 17 00:00:00 2001 From: shellrow <81893184+shellrow@users.noreply.github.com> Date: Sun, 9 Jan 2022 21:43:38 +0900 Subject: [PATCH] Add field --- examples/default_interface.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/default_interface.rs b/examples/default_interface.rs index 9b6f92e..3868df8 100644 --- a/examples/default_interface.rs +++ b/examples/default_interface.rs @@ -6,6 +6,7 @@ fn main(){ println!("Default Interface"); println!("\tIndex: {}", default_interface.index); println!("\tName: {}", default_interface.name); + println!("\tDescription: {:?}", default_interface.description); if let Some(mac_addr) = default_interface.mac_addr { println!("\tMAC: {}", mac_addr); }else{