Struct riak::object::FetchObjectReq
[−]
[src]
pub struct FetchObjectReq(_);
FetchObjectReq
represents the data used to perform a fetch object request
Methods
impl FetchObjectReq
[src]
fn new<T: Into<Vec<u8>>>(bucket: T, key: T) -> FetchObjectReq
constructs a new FetchObjectReq
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_key(&self) -> &[u8]
get the "key" property
fn set_key<T: Into<Vec<u8>>>(&mut self, key: T)
set the "key" property
fn get_r(&self) -> Option<u32>
get the "r" property
fn set_r(&mut self, r: u32)
set the "r" property
fn get_pr(&self) -> Option<u32>
get the "pr" property
fn set_pr(&mut self, pr: u32)
set the "pr" 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_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_if_modified(&self) -> Option<&[u8]>
get the "if_modified" property
fn set_if_modified<T: Into<Vec<u8>>>(&mut self, if_modified: T)
set the "if_modified" property
fn get_head(&self) -> Option<bool>
get the "head" property
fn set_head(&mut self, head: bool)
set the "head" property
fn get_deleted_vclock(&self) -> Option<bool>
get the "deleted_vclock" property
fn set_deleted_vclock(&mut self, deleted_vclock: bool)
set the "deleted_vclock" property
fn get_timeout(&self) -> Option<u32>
get the "timeout" property
fn set_timeout(&mut self, timeout: u32)
set the "timeout" property
fn get_sloppy_quorum(&self) -> Option<bool>
get the "sloppy_quorum" property
fn set_sloppy_quorum(&mut self, sloppy_quorum: bool)
set the "sloppy_quorum" 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_bucket_type(&self) -> Option<&[u8]>
get the "bucket_type" property
fn set_bucket_type<T: Into<Vec<u8>>>(&mut self, bucket_type: T)
set the "bucket_type" property
Trait Implementations
impl Clone for FetchObjectReq
[src]
fn clone(&self) -> FetchObjectReq
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