pub struct ServerInfo {
pub name: String,
pub timezone: String,
pub display_name: String,
pub version_major: u64,
pub version_minor: u64,
pub version_patch: u64,
pub revision: u64,
}Expand description
Server information received during Hello handshake.
Fields§
§name: String§timezone: String§display_name: String§version_major: u64§version_minor: u64§version_patch: u64§revision: u64Trait Implementations§
Source§impl Clone for ServerInfo
impl Clone for ServerInfo
Auto Trait Implementations§
impl Freeze for ServerInfo
impl RefUnwindSafe for ServerInfo
impl Send for ServerInfo
impl Sync for ServerInfo
impl Unpin for ServerInfo
impl UnsafeUnpin 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