pub struct PeerStatus {Show 30 fields
pub id: String,
pub public_key: String,
pub hostname: String,
pub dnsname: String,
pub os: String,
pub user_id: i64,
pub tailscale_ips: Vec<IpAddr>,
pub tags: Vec<String>,
pub primary_routes: Vec<String>,
pub addrs: Vec<String>,
pub cur_addr: String,
pub relay: String,
pub rx_bytes: i64,
pub tx_bytes: i64,
pub created: DateTime<Utc>,
pub last_write: DateTime<Utc>,
pub last_seen: DateTime<Utc>,
pub last_handshake: DateTime<Utc>,
pub online: bool,
pub keep_alive: bool,
pub exit_node: bool,
pub exit_node_option: bool,
pub active: bool,
pub peer_api_url: Vec<String>,
pub capabilities: Vec<String>,
pub ssh_hostkeys: Vec<String>,
pub sharee_node: bool,
pub in_network_map: bool,
pub in_magic_sock: bool,
pub in_engine: bool,
}
Expand description
Status of a peer
Fields§
§id: String
§public_key: String
§hostname: String
§dnsname: String
§os: String
§user_id: i64
§tailscale_ips: Vec<IpAddr>
§primary_routes: Vec<String>
§addrs: Vec<String>
§cur_addr: String
§relay: String
§rx_bytes: i64
§tx_bytes: i64
§created: DateTime<Utc>
§last_write: DateTime<Utc>
§last_seen: DateTime<Utc>
§last_handshake: DateTime<Utc>
§online: bool
§keep_alive: bool
§exit_node: bool
§exit_node_option: bool
§active: bool
§peer_api_url: Vec<String>
§capabilities: Vec<String>
§ssh_hostkeys: Vec<String>
§in_network_map: bool
§in_magic_sock: bool
§in_engine: bool
Trait Implementations§
Source§impl Debug for PeerStatus
impl Debug for PeerStatus
Source§impl<'de> Deserialize<'de> for PeerStatus
impl<'de> Deserialize<'de> for PeerStatus
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 PeerStatus
impl RefUnwindSafe for PeerStatus
impl Send for PeerStatus
impl Sync for PeerStatus
impl Unpin for PeerStatus
impl UnwindSafe for PeerStatus
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