pub struct UserInvite {
pub id: Option<String>,
pub role: Option<String>,
pub tailnet_id: Option<i64>,
pub inviter_id: Option<i64>,
pub email: Option<String>,
pub last_email_sent_at: Option<String>,
pub invite_url: Option<String>,
pub unknown: Unknown,
}Expand description
An invitation for someone outside the tailnet to join it.
Fields§
§id: Option<String>§role: Option<String>The role the invitee gets on accepting. One of INVITE_ROLES.
tailnet_id: Option<i64>§inviter_id: Option<i64>§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.
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 UserInvite
impl Clone for UserInvite
Source§fn clone(&self) -> UserInvite
fn clone(&self) -> UserInvite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserInvite
impl Debug for UserInvite
Source§impl<'de> Deserialize<'de> for UserInvite
impl<'de> Deserialize<'de> for UserInvite
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 UserInvite
impl PartialEq for UserInvite
Source§impl Serialize for UserInvite
impl Serialize for UserInvite
impl StructuralPartialEq for UserInvite
Auto Trait Implementations§
impl Freeze for UserInvite
impl RefUnwindSafe for UserInvite
impl Send for UserInvite
impl Sync for UserInvite
impl Unpin for UserInvite
impl UnsafeUnpin for UserInvite
impl UnwindSafe for UserInvite
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