Struct riak::object::StoreObjectReq
[−]
[src]
pub struct StoreObjectReq(_, _);
StoreObjectReq
represents the data used to store an object in Riak
Methods
impl StoreObjectReq
[src]
fn new<T: Into<Vec<u8>>>(bucket: T, content: ObjectContent) -> StoreObjectReq
constructs a new StoreObjectReq
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_content(&self) -> &ObjectContent
get the "content" property
fn set_content(&mut self, content: ObjectContent)
set the "content" property
fn get_asis(&self) -> Option<bool>
get the "asis" property
fn set_asis(&mut self, asis: bool)
set the "asis" 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
fn get_if_none_match(&self) -> Option<bool>
get the "if_none_match" property
fn set_if_none_match(&mut self, if_none_match: bool)
set the "if_none_match" property
fn get_if_not_modified(&self) -> Option<bool>
get the "if_not_modified" property
fn set_if_not_modified(&mut self, if_not_modified: bool)
set the "if_not_modified" property
fn get_key(&self) -> Option<&[u8]>
get the "key" property
fn set_key<T: Into<Vec<u8>>>(&mut self, key: T)
set the "key" 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_return_body(&self) -> Option<bool>
get the "return_body" property
fn set_return_body(&mut self, return_body: bool)
set the "return_body" property
fn get_return_head(&self) -> Option<bool>
get the "return_head" property
fn set_return_head(&mut self, return_head: bool)
set the "return_head" 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_timeout(&self) -> Option<u32>
get the "timeout" property
fn set_timeout(&mut self, timeout: u32)
set the "timeout" property
fn get_vclock(&self) -> Option<&[u8]>
get the "vclock" property
fn set_vclock<T: Into<Vec<u8>>>(&mut self, vclock: T)
set the "vclock" property
fn get_dw(&self) -> Option<u32>
get the "dw" property
fn set_dw(&mut self, dw: u32)
set the "dw" property
fn get_pw(&self) -> Option<u32>
get the "pw" property
fn set_pw(&mut self, pw: u32)
set the "pw" property
fn get_w(&self) -> Option<u32>
get the "w" property
fn set_w(&mut self, w: u32)
set the "w" property
Trait Implementations
impl Clone for StoreObjectReq
[src]
fn clone(&self) -> StoreObjectReq
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