pub struct EdgeIdentity {
pub kind: AgentKind,
pub subject: String,
pub name: String,
pub email: Option<String>,
pub node: Option<String>,
pub can_claim: bool,
}Expand description
A person a front door verified.
Fields§
§kind: AgentKind§subject: StringThe tailnet login, or the Access subject (a stable per-user id).
name: StringWhat to call them: the tailnet login, or the Access email.
email: Option<String>An email the front door vouches for, when there is one: the Access
email, or a tailnet login shaped like an address (someone@github
is not one).
node: Option<String>The tailnet node they came from.
can_claim: boolMay claim first-run setup: off when a superadmin allow list for this front door exists and does not name them.
Implementations§
Trait Implementations§
Source§impl Clone for EdgeIdentity
impl Clone for EdgeIdentity
Source§impl Debug for EdgeIdentity
impl Debug for EdgeIdentity
impl Eq for EdgeIdentity
Source§impl PartialEq for EdgeIdentity
impl PartialEq for EdgeIdentity
Source§impl Serialize for EdgeIdentity
impl Serialize for EdgeIdentity
impl StructuralPartialEq for EdgeIdentity
Auto Trait Implementations§
impl Freeze for EdgeIdentity
impl RefUnwindSafe for EdgeIdentity
impl Send for EdgeIdentity
impl Sync for EdgeIdentity
impl Unpin for EdgeIdentity
impl UnsafeUnpin for EdgeIdentity
impl UnwindSafe for EdgeIdentity
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.