Struct docker_api::api::swarm::models::Raft [−][src]
pub struct Raft {
pub snapshot_interval: Option<u64>,
pub keep_old_snapshots: Option<u64>,
pub log_entries_for_slow_followers: Option<u64>,
pub election_tick: isize,
pub heartbeat_tick: isize,
}
This is supported on crate feature
swarm
only.Fields
snapshot_interval: Option<u64>
keep_old_snapshots: Option<u64>
log_entries_for_slow_followers: Option<u64>
election_tick: isize
heartbeat_tick: isize
Trait Implementations
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 RefUnwindSafe for Raft
impl UnwindSafe for Raft
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more