pub struct MeshPeerEntry {
pub name: String,
pub url: String,
pub magic_dns_name: String,
pub host_or_dns: String,
pub port: u16,
pub online: bool,
pub os: String,
pub bearer_available: bool,
pub bearer: Option<String>,
}Expand description
One peer entry in the GET /api/mesh/peers response.
Fields§
§name: String§url: StringThe URL to register with addNode — http://<magic_dns>:<port>.
magic_dns_name: String§host_or_dns: String§port: u16§online: bool§os: String§bearer_available: boolWhether a candidate bearer is obtainable for this peer (true when this node
has a usable RYU_TOKEN under the shared-fleet convention).
bearer: Option<String>The candidate bearer to attach when adding this peer, or null. Same shared
token for every peer; valid only on peers provisioned with this RYU_TOKEN.
Trait Implementations§
Source§impl Clone for MeshPeerEntry
impl Clone for MeshPeerEntry
Source§fn clone(&self) -> MeshPeerEntry
fn clone(&self) -> MeshPeerEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeshPeerEntry
impl Debug for MeshPeerEntry
impl Eq for MeshPeerEntry
Source§impl PartialEq for MeshPeerEntry
impl PartialEq for MeshPeerEntry
Source§impl Serialize for MeshPeerEntry
impl Serialize for MeshPeerEntry
impl StructuralPartialEq for MeshPeerEntry
Auto Trait Implementations§
impl Freeze for MeshPeerEntry
impl RefUnwindSafe for MeshPeerEntry
impl Send for MeshPeerEntry
impl Sync for MeshPeerEntry
impl Unpin for MeshPeerEntry
impl UnsafeUnpin for MeshPeerEntry
impl UnwindSafe for MeshPeerEntry
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