pub struct AgentIdentity {
pub id: i64,
pub org: OrgId,
pub kind: AgentKind,
pub subject: String,
pub role: Role,
pub note: String,
pub created_at: i64,
pub created_by: String,
}Expand description
One mapping.
Fields§
§id: i64§org: OrgId§kind: AgentKind§subject: StringTailnet: a login (a@example.com) or tag:name. Access: an email or
a service token’s client id.
role: Role§note: String§created_at: i64§created_by: StringWho made it (an audit-style name).
Trait Implementations§
Source§impl Clone for AgentIdentity
impl Clone for AgentIdentity
Source§impl Debug for AgentIdentity
impl Debug for AgentIdentity
impl Eq for AgentIdentity
Source§impl PartialEq for AgentIdentity
impl PartialEq for AgentIdentity
Source§impl Serialize for AgentIdentity
impl Serialize for AgentIdentity
impl StructuralPartialEq for AgentIdentity
Auto Trait Implementations§
impl Freeze for AgentIdentity
impl RefUnwindSafe for AgentIdentity
impl Send for AgentIdentity
impl Sync for AgentIdentity
impl Unpin for AgentIdentity
impl UnsafeUnpin for AgentIdentity
impl UnwindSafe for AgentIdentity
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.