Struct nebula_fbthrift_raftex::types::AppendLogRequest
source · pub struct AppendLogRequest {
pub space: i32,
pub part: i32,
pub current_term: i64,
pub last_log_id: i64,
pub committed_log_id: i64,
pub leader_ip: i32,
pub leader_port: i32,
pub last_log_term_sent: i64,
pub last_log_id_sent: i64,
pub log_term: i64,
pub log_str_list: Vec<LogEntry, Global>,
pub sending_snapshot: bool,
/* private fields */
}
Fields§
§space: i32
§part: i32
§current_term: i64
§last_log_id: i64
§committed_log_id: i64
§leader_ip: i32
§leader_port: i32
§last_log_term_sent: i64
§last_log_id_sent: i64
§log_term: i64
§log_str_list: Vec<LogEntry, Global>
§sending_snapshot: bool
Trait Implementations§
source§impl Clone for AppendLogRequest
impl Clone for AppendLogRequest
source§fn clone(&self) -> AppendLogRequest
fn clone(&self) -> AppendLogRequest
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 AppendLogRequest
impl Debug for AppendLogRequest
source§impl Default for AppendLogRequest
impl Default for AppendLogRequest
source§fn default() -> AppendLogRequest
fn default() -> AppendLogRequest
Returns the “default value” for a type. Read more
source§impl<P> Deserialize<P> for AppendLogRequestwhere
P: ProtocolReader,
impl<P> Deserialize<P> for AppendLogRequestwhere
P: ProtocolReader,
source§impl PartialEq<AppendLogRequest> for AppendLogRequest
impl PartialEq<AppendLogRequest> for AppendLogRequest
source§fn eq(&self, other: &AppendLogRequest) -> bool
fn eq(&self, other: &AppendLogRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.