pub struct ServerInfo {
pub software: String,
pub version: String,
pub organization: String,
pub capabilities: Vec<String>,
}Expand description
Information about the connected SeedLink server, parsed from HELLO.
Fields§
§software: StringServer software name (e.g., "SeedLink").
version: StringServer version string (e.g., "v3.1").
organization: StringServer organization line.
capabilities: Vec<String>Advertised capabilities (e.g., ["SLPROTO:4.0", "SLPROTO:3.1"]).
Trait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Source§fn clone(&self) -> ServerInfo
fn clone(&self) -> ServerInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnwindSafe for ServerInfo
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