Struct riak::bucket::BucketProps
[−]
[src]
pub struct BucketProps(_);
BucketProps
represents the properties that can bet set on a bucket.
Methods
impl BucketProps
[src]
fn new() -> BucketProps
constructs a new BucketProps
fn get_allow_mult(&self) -> Option<bool>
get the value of the "allow_mult" property
fn set_allow_mult(&mut self, allow_mult: bool)
set the value of the "allow_mult" property
fn get_backend(&self) -> Option<Vec<u8>>
get the value of the "backend" property
fn set_backend<T: Into<Vec<u8>>>(&mut self, backend: T)
set the value of the "backend" property
fn get_basic_quorum(&self) -> Option<bool>
get the value of the "basic_quorum" property
fn set_basic_quorum(&mut self, basic_quorum: bool)
set the value of the "basic_quorum" property
fn get_big_vclock(&self) -> Option<u32>
get the value of the "big_vclock" property
fn set_big_vclock(&mut self, big_vclock: u32)
set the value of the "big vclock" property
fn get_chash_keyfun(&self) -> Option<(Vec<u8>, Vec<u8>)>
get the value of the "chash_keyfun" property
fn set_chash_keyfun<T: Into<Vec<u8>>>(&mut self, module: T, function: T)
set the value of the "chash_keyfun" property
fn get_consistent(&self) -> Option<bool>
get the value of the "consistent" property
fn set_consistent(&mut self, consistent: bool)
set the value of the "consistent" property
fn get_datatype(&self) -> Option<Vec<u8>>
get the value of the "datatype" property
fn set_datatype<T: Into<Vec<u8>>>(&mut self, datatype: T)
set the value of the "datatype" property
fn get_dw(&self) -> Option<u32>
get the value of the "dw" property
fn set_dw(&mut self, dw: u32)
set the value of the "dw" property
fn get_has_postcommit(&self) -> Option<bool>
get the value of the "has_postcommit" property
fn set_has_postcommit(&mut self, has_postcommit: bool)
set the value of the "has_postcommit" property
fn get_has_precommit(&self) -> Option<bool>
get the value of the "has_precommit" property
fn set_has_precommit(&mut self, has_precommit: bool)
set the value of the "has_precommit" property
fn get_hll_precision(&self) -> Option<u32>
get the value of the "hll_precision" property
fn set_hll_precision(&mut self, hll_precision: u32)
set the value of the "hll_precision" property
fn get_last_write_wins(&self) -> Option<bool>
get the value of the "last_write_wins" property
fn set_last_write_wins(&mut self, last_write_wins: bool)
set the value of the "last_write_wins" property
fn get_linkfun(&self) -> Option<(Vec<u8>, Vec<u8>)>
get the value of the "linkfun" property
fn set_linkfun<T: Into<Vec<u8>>>(&mut self, module: T, function: T)
set the value of the "linkfun" property
fn get_notfound_ok(&self) -> Option<bool>
get the value of the "notfound_ok" property
fn set_notfound_ok(&mut self, notfound_ok: bool)
set the value of the "notfound_ok" property
fn get_n_val(&self) -> Option<u32>
get the value of the "n_val" property
fn set_n_val(&mut self, n_val: u32)
set the value of the "n_val" property
fn get_old_vclock(&self) -> Option<u32>
get the value of the "old_vclock" property
fn set_old_vclock(&mut self, old_vclock: u32)
set the value of the "old_vclock" property
fn get_postcommit(&self) -> Option<HashMap<Vec<u8>, (Vec<u8>, Vec<u8>)>>
get the value of the "postcommit" property
fn set_postcommit(&mut self, postcommit: HashMap<Vec<u8>, (Vec<u8>, Vec<u8>)>)
set the value of the "postcommit" property
fn get_precommit(&self) -> Option<HashMap<Vec<u8>, (Vec<u8>, Vec<u8>)>>
get the value of the "precommit" property
fn set_precommit(&mut self, precommit: HashMap<Vec<u8>, (Vec<u8>, Vec<u8>)>)
set the value of the "precommit" property
fn get_pr(&self) -> Option<u32>
get the value of the "pr" property
fn set_pr(&mut self, pr: u32)
set the value of the "pr" property
fn get_pw(&self) -> Option<u32>
get the value of the "pw" property
fn set_pw(&mut self, pw: u32)
set the value of the "pw" property
fn get_r(&self) -> Option<u32>
get the value of the "r" property
fn set_r(&mut self, r: u32)
set the value of the "r" property
fn get_rw(&self) -> Option<u32>
get the value of the "rw" property
fn set_rw(&mut self, rw: u32)
set the value of the "rw" property
fn get_search_index(&self) -> Option<Vec<u8>>
get the value of the "search_index" property
fn set_search_index<T: Into<Vec<u8>>>(&mut self, search_index: T)
set the value of the "search_index" property
fn get_search(&self) -> Option<bool>
get the value of the "search" property
fn set_search(&mut self, search: bool)
set the value of the "search" property
fn get_small_vclock(&self) -> Option<u32>
get the value of the "small_vclock" property
fn set_small_vclock(&mut self, small_vclock: u32)
set the value of the "small_vclock" property
fn get_write_once(&self) -> Option<bool>
get the value of the "write_once" property
fn set_write_once(&mut self, write_once: bool)
set the value of the "write_once" property
fn get_w(&self) -> Option<u32>
get the value of the "w" property
fn set_w(&mut self, w: u32)
set the value of the "w" property
fn get_young_vclock(&self) -> Option<u32>
get the value of the "young_vclock" property
fn set_young_vclock(&mut self, young_vclock: u32)
set the value of the "young_vclock" property
Trait Implementations
impl Clone for BucketProps
[src]
fn clone(&self) -> BucketProps
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