pub struct LegacyClient {
pub id: String,
pub mac: Option<String>,
pub ip: Option<String>,
pub hostname: Option<String>,
pub name: Option<String>,
pub is_wired: bool,
pub uptime: Option<u64>,
pub tx_bytes: Option<u64>,
pub rx_bytes: Option<u64>,
pub signal: Option<i32>,
pub ap_mac: Option<String>,
pub ssid: Option<String>,
}Fields§
§id: String§mac: Option<String>§ip: Option<String>§hostname: Option<String>§name: Option<String>§is_wired: bool§uptime: Option<u64>§tx_bytes: Option<u64>§rx_bytes: Option<u64>§signal: Option<i32>§ap_mac: Option<String>§ssid: Option<String>Implementations§
Source§impl LegacyClient
impl LegacyClient
pub fn display_name(&self) -> &str
Trait Implementations§
Source§impl Debug for LegacyClient
impl Debug for LegacyClient
Source§impl<'de> Deserialize<'de> for LegacyClient
impl<'de> Deserialize<'de> for LegacyClient
Source§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 Freeze for LegacyClient
impl RefUnwindSafe for LegacyClient
impl Send for LegacyClient
impl Sync for LegacyClient
impl Unpin for LegacyClient
impl UnsafeUnpin for LegacyClient
impl UnwindSafe for LegacyClient
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