pub struct User {Show 13 fields
pub id: Option<String>,
pub display_name: Option<String>,
pub login_name: Option<String>,
pub profile_pic_url: Option<String>,
pub tailnet_id: Option<String>,
pub created: Option<String>,
pub user_type: Option<String>,
pub role: Option<String>,
pub status: Option<String>,
pub device_count: Option<i64>,
pub last_seen: Option<String>,
pub currently_connected: Option<bool>,
pub unknown: Unknown,
}Expand description
A person with access to the tailnet.
Fields§
§id: Option<String>§display_name: Option<String>§login_name: Option<String>§profile_pic_url: Option<String>§tailnet_id: Option<String>§created: Option<String>§user_type: Option<String>One of USER_TYPES.
role: Option<String>One of USER_ROLES.
status: Option<String>One of USER_STATUSES.
device_count: Option<i64>§last_seen: Option<String>§currently_connected: Option<bool>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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