pub struct Node {Show 24 fields
pub id: i64,
pub stable_id: String,
pub name: String,
pub user: i64,
pub sharer: Option<i64>,
pub key: String,
pub key_expiry: DateTime<Utc>,
pub machine: String,
pub disco_key: String,
pub addresses: Vec<String>,
pub allowed_ips: Vec<String>,
pub endpoints: Option<Vec<SocketAddr>>,
pub derp: Option<String>,
pub hostinfo: Hostinfo,
pub created: DateTime<Utc>,
pub tags: Vec<String>,
pub primary_routes: Vec<String>,
pub last_seen: Option<DateTime<Utc>>,
pub online: Option<bool>,
pub keep_alive: Option<bool>,
pub machine_authorized: Option<bool>,
pub capabilities: Vec<String>,
pub computed_name: String,
pub computed_name_with_host: String,
}
Expand description
Node in the tailnet
Fields§
§id: i64
§stable_id: String
§name: String
§user: i64
§key: String
§key_expiry: DateTime<Utc>
§machine: String
§disco_key: String
§addresses: Vec<String>
§allowed_ips: Vec<String>
§endpoints: Option<Vec<SocketAddr>>
§derp: Option<String>
§hostinfo: Hostinfo
§created: DateTime<Utc>
§primary_routes: Vec<String>
§last_seen: Option<DateTime<Utc>>
§online: Option<bool>
§keep_alive: Option<bool>
§capabilities: Vec<String>
§computed_name: String
§computed_name_with_host: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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