pub struct DaemonHelloResponse {
pub compatible: bool,
pub daemon_version: String,
pub envelope_version: u32,
}Expand description
Server’s reply to DaemonHello. If compatible is false the
server closes the connection immediately after the frame is sent.
Fields§
§compatible: bool§daemon_version: String§envelope_version: u32Trait Implementations§
Source§impl Clone for DaemonHelloResponse
impl Clone for DaemonHelloResponse
Source§fn clone(&self) -> DaemonHelloResponse
fn clone(&self) -> DaemonHelloResponse
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 DaemonHelloResponse
impl Debug for DaemonHelloResponse
Source§impl<'de> Deserialize<'de> for DaemonHelloResponse
impl<'de> Deserialize<'de> for DaemonHelloResponse
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
Auto Trait Implementations§
impl Freeze for DaemonHelloResponse
impl RefUnwindSafe for DaemonHelloResponse
impl Send for DaemonHelloResponse
impl Sync for DaemonHelloResponse
impl Unpin for DaemonHelloResponse
impl UnsafeUnpin for DaemonHelloResponse
impl UnwindSafe for DaemonHelloResponse
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