pub struct SessionUserEntry {
pub id: String,
pub mac: String,
pub name: Option<String>,
pub hostname: Option<String>,
pub use_fixedip: Option<bool>,
pub fixed_ip: Option<String>,
pub network_id: Option<String>,
pub site_id: Option<String>,
pub noted: Option<bool>,
pub note: Option<String>,
pub extra: Map<String, Value>,
}Expand description
User object from rest/user.
The “user” collection stores persistent client configuration such as
names, notes, and DHCP reservations. Unlike stat/sta (currently
connected stations), rest/user includes offline/historical clients.
Fields§
§id: String§mac: String§name: Option<String>§hostname: Option<String>§use_fixedip: Option<bool>§fixed_ip: Option<String>§network_id: Option<String>§site_id: Option<String>§noted: Option<bool>§note: Option<String>§extra: Map<String, Value>Catch-all for undocumented fields.
Trait Implementations§
Source§impl Clone for SessionUserEntry
impl Clone for SessionUserEntry
Source§fn clone(&self) -> SessionUserEntry
fn clone(&self) -> SessionUserEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionUserEntry
impl Debug for SessionUserEntry
Source§impl<'de> Deserialize<'de> for SessionUserEntry
impl<'de> Deserialize<'de> for SessionUserEntry
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 SessionUserEntry
impl RefUnwindSafe for SessionUserEntry
impl Send for SessionUserEntry
impl Sync for SessionUserEntry
impl Unpin for SessionUserEntry
impl UnsafeUnpin for SessionUserEntry
impl UnwindSafe for SessionUserEntry
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