pub struct ServerInfo {
pub name: String,
pub endpoint_id: String,
pub server_id: String,
pub protocol_version: u32,
pub server_version: String,
pub auth_methods: Vec<AuthMethod>,
pub web_url: Option<String>,
pub experimental: Vec<String>,
pub invite_only: bool,
}Expand description
Who the server is. endpoint_id is what the client pins.
Fields§
§name: String§endpoint_id: StringHex, as spoolframe-server id prints it.
server_id: StringThe server’s id (crate::ServerId): made once, kept when its key
is replaced. A client pins it beside endpoint_id, the first time
it sees it.
protocol_version: u32§server_version: String§auth_methods: Vec<AuthMethod>§web_url: Option<String>Where a browser reaches the server’s web UI (admin.public_url),
if it has one: for “open in the browser” links, such as linking a
Plex account. Absent without a public URL, since the
listener’s own address may be loopback or one no browser trusts.
experimental: Vec<String>The experimental features turned on for this connection:
those its Hello named that this server knows and has on. Left
out when none, as an older server does.
invite_only: boolAn account is made only from an invite (RedeemInvite); there is
no open sign-up. For a “servers on my network” list, before
signing in.