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