Struct nebula_fbthrift_storage::TransLeaderReq
source · pub struct TransLeaderReq {
pub space_id: i32,
pub part_id: i32,
pub new_leader: HostAddr,
/* private fields */
}
Fields§
§space_id: i32
§part_id: i32
§new_leader: HostAddr
Trait Implementations§
source§impl Clone for TransLeaderReq
impl Clone for TransLeaderReq
source§fn clone(&self) -> TransLeaderReq
fn clone(&self) -> TransLeaderReq
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 TransLeaderReq
impl Debug for TransLeaderReq
source§impl Default for TransLeaderReq
impl Default for TransLeaderReq
source§fn default() -> TransLeaderReq
fn default() -> TransLeaderReq
Returns the “default value” for a type. Read more
source§impl<P> Deserialize<P> for TransLeaderReqwhere
P: ProtocolReader,
impl<P> Deserialize<P> for TransLeaderReqwhere
P: ProtocolReader,
source§impl PartialEq<TransLeaderReq> for TransLeaderReq
impl PartialEq<TransLeaderReq> for TransLeaderReq
source§fn eq(&self, other: &TransLeaderReq) -> bool
fn eq(&self, other: &TransLeaderReq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.