pub struct ServerVersion {
pub server_software: String,
pub protocol_version: String,
}Expand description
Server version information.
Fields§
§server_software: StringServer software name and version
protocol_version: StringProtocol version supported
Trait Implementations§
Source§impl Clone for ServerVersion
impl Clone for ServerVersion
Source§fn clone(&self) -> ServerVersion
fn clone(&self) -> ServerVersion
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 moreSource§impl Debug for ServerVersion
impl Debug for ServerVersion
Source§impl PartialEq for ServerVersion
impl PartialEq for ServerVersion
impl Eq for ServerVersion
impl StructuralPartialEq for ServerVersion
Auto Trait Implementations§
impl Freeze for ServerVersion
impl RefUnwindSafe for ServerVersion
impl Send for ServerVersion
impl Sync for ServerVersion
impl Unpin for ServerVersion
impl UnwindSafe for ServerVersion
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