pub struct ServerSpec {
pub capabilities: HashSet<String>,
pub encoding: Option<String>,
pub process_id: Option<u32>,
pub process_group_id: Option<u32>,
}
Expand description
Information reported by the server at the initial handshake.
Fields§
§capabilities: HashSet<String>
§encoding: Option<String>
§process_id: Option<u32>
§process_group_id: Option<u32>
Trait Implementations§
Source§impl Clone for ServerSpec
impl Clone for ServerSpec
Source§fn clone(&self) -> ServerSpec
fn clone(&self) -> ServerSpec
Returns a copy 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 moreSource§impl Debug for ServerSpec
impl Debug for ServerSpec
Source§impl PartialEq for ServerSpec
impl PartialEq for ServerSpec
impl Eq for ServerSpec
impl StructuralPartialEq for ServerSpec
Auto Trait Implementations§
impl Freeze for ServerSpec
impl RefUnwindSafe for ServerSpec
impl Send for ServerSpec
impl Sync for ServerSpec
impl Unpin for ServerSpec
impl UnwindSafe for ServerSpec
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