pub struct Welcome {
pub protocol: u32,
pub minor: u32,
pub caps: Vec<String>,
}Expand description
The engine’s side of the handshake (crate::ServerMsg::Welcome).
Fields§
§protocol: u32§minor: u32§caps: Vec<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Welcome
impl<'de> Deserialize<'de> for Welcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Welcome
impl StructuralPartialEq for Welcome
Auto Trait Implementations§
impl Forget for Welcome
impl Freeze for Welcome
impl Move for Welcome
impl RefUnwindSafe for Welcome
impl Send for Welcome
impl Sync for Welcome
impl Unpin for Welcome
impl UnsafeUnpin for Welcome
impl UnwindSafe for Welcome
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