Struct riak::preflist::PreflistItem
[−]
[src]
pub struct PreflistItem { pub partition: i64, pub node: String, pub is_primary: bool, }
Preflists are lists of VNodes responsible for a Riak object
For more information: https://docs.basho.com/riak/kv/latest/learn/concepts/replication/
PrefListItem
represents a Riak preflist for a key
Fields
partition: i64
node: String
is_primary: bool
Methods
impl PreflistItem
[src]
fn new(partition: i64, node: &str, is_primary: bool) -> PreflistItem
Trait Implementations
impl Clone for PreflistItem
[src]
fn clone(&self) -> PreflistItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more