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