Struct edgedb_protocol::server_message::ServerHandshake
source · pub struct ServerHandshake {
pub major_ver: u16,
pub minor_ver: u16,
pub extensions: HashMap<String, KeyValues>,
}
Fields§
§major_ver: u16
§minor_ver: u16
§extensions: HashMap<String, KeyValues>
Trait Implementations§
source§impl Clone for ServerHandshake
impl Clone for ServerHandshake
source§fn clone(&self) -> ServerHandshake
fn clone(&self) -> ServerHandshake
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 ServerHandshake
impl Debug for ServerHandshake
source§impl PartialEq<ServerHandshake> for ServerHandshake
impl PartialEq<ServerHandshake> for ServerHandshake
source§fn eq(&self, other: &ServerHandshake) -> bool
fn eq(&self, other: &ServerHandshake) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServerHandshake
impl StructuralEq for ServerHandshake
impl StructuralPartialEq for ServerHandshake
Auto Trait Implementations§
impl RefUnwindSafe for ServerHandshake
impl Send for ServerHandshake
impl Sync for ServerHandshake
impl Unpin for ServerHandshake
impl UnwindSafe for ServerHandshake
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