pub struct DeviceInvite {Show 13 fields
pub id: Option<String>,
pub created: Option<String>,
pub tailnet_id: Option<i64>,
pub device_id: Option<i64>,
pub sharer_id: Option<i64>,
pub multi_use: Option<bool>,
pub allow_exit_node: Option<bool>,
pub email: Option<String>,
pub last_email_sent_at: Option<String>,
pub invite_url: Option<String>,
pub accepted: Option<bool>,
pub accepted_by: Option<InviteAcceptor>,
pub unknown: Unknown,
}Expand description
An invitation sharing one device with a user outside its tailnet.
Fields§
§id: Option<String>§created: Option<String>§tailnet_id: Option<i64>§device_id: Option<i64>§multi_use: Option<bool>§allow_exit_node: Option<bool>Whether the invited user may use the device as an exit node, where it advertises as one.
email: Option<String>Empty for an invite nobody was mailed, whose URL is shared by hand.
last_email_sent_at: Option<String>§invite_url: Option<String>Anyone holding this link can accept, not only the addressee.
accepted: Option<bool>§accepted_by: Option<InviteAcceptor>§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 Clone for DeviceInvite
impl Clone for DeviceInvite
Source§impl Debug for DeviceInvite
impl Debug for DeviceInvite
Source§impl<'de> Deserialize<'de> for DeviceInvite
impl<'de> Deserialize<'de> for DeviceInvite
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
Source§impl PartialEq for DeviceInvite
impl PartialEq for DeviceInvite
Source§impl Serialize for DeviceInvite
impl Serialize for DeviceInvite
impl StructuralPartialEq for DeviceInvite
Auto Trait Implementations§
impl Freeze for DeviceInvite
impl RefUnwindSafe for DeviceInvite
impl Send for DeviceInvite
impl Sync for DeviceInvite
impl Unpin for DeviceInvite
impl UnsafeUnpin for DeviceInvite
impl UnwindSafe for DeviceInvite
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