pub struct MeshPeer {
pub name: String,
pub host_or_dns: String,
pub magic_dns_name: String,
pub tailscale_ips: Vec<String>,
pub online: bool,
pub os: String,
}Expand description
A peer node on the tailnet, as surfaced in Contract 6. Carries both the P7
fields (name, host_or_dns) and the P5 fields (magic_dns_name,
tailscale_ips, os).
Fields§
§name: String§host_or_dns: String§magic_dns_name: String§tailscale_ips: Vec<String>§online: bool§os: StringTrait Implementations§
impl Eq for MeshPeer
impl StructuralPartialEq for MeshPeer
Auto Trait Implementations§
impl Freeze for MeshPeer
impl RefUnwindSafe for MeshPeer
impl Send for MeshPeer
impl Sync for MeshPeer
impl Unpin for MeshPeer
impl UnsafeUnpin for MeshPeer
impl UnwindSafe for MeshPeer
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