Struct Welcome
pub struct Welcome {
pub client_id: u64,
pub server_capabilities: Vec<String>,
}Expand description
Daemon’s reply to a client’s Hello.
Fields§
§client_id: u64Daemon-assigned identifier for this client.
server_capabilities: Vec<String>Capability flags the daemon supports.
Trait Implementations§
§impl<'de> Deserialize<'de> for Welcome
impl<'de> Deserialize<'de> for Welcome
§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 Freeze 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