pub struct VerifyClientVersionResp {
pub code: ErrorCode,
pub leader: HostAddr,
pub error_msg: Option<Vec<u8>>,
/* private fields */
}
Fields§
§code: ErrorCode
§leader: HostAddr
§error_msg: Option<Vec<u8>>
Trait Implementations§
source§impl Clone for VerifyClientVersionResp
impl Clone for VerifyClientVersionResp
source§fn clone(&self) -> VerifyClientVersionResp
fn clone(&self) -> VerifyClientVersionResp
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 VerifyClientVersionResp
impl Debug for VerifyClientVersionResp
source§impl Default for VerifyClientVersionResp
impl Default for VerifyClientVersionResp
source§impl<P> Deserialize<P> for VerifyClientVersionRespwhere
P: ProtocolReader,
impl<P> Deserialize<P> for VerifyClientVersionRespwhere
P: ProtocolReader,
source§impl GetTType for VerifyClientVersionResp
impl GetTType for VerifyClientVersionResp
source§impl PartialEq<VerifyClientVersionResp> for VerifyClientVersionResp
impl PartialEq<VerifyClientVersionResp> for VerifyClientVersionResp
source§fn eq(&self, other: &VerifyClientVersionResp) -> bool
fn eq(&self, other: &VerifyClientVersionResp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.