Struct riak::object::StoreObjectReq
[−]
[src]
pub struct StoreObjectReq { /* fields omitted */ }
The data used to perform an store object request.
Examples
Methods
impl StoreObjectReq
[src]
fn new(bucket: &str, content: &ObjectContent) -> StoreObjectReq
fn get_bucket(&self) -> String
fn set_bucket(&mut self, bucket: &str)
fn get_content(&self) -> ObjectContent
fn set_content(&mut self, content: ObjectContent)
fn get_key(&self) -> Option<String>
fn set_key(&mut self, key: &str)
fn get_vclock(&self) -> Option<Vec<u8>>
fn set_vclock(&mut self, vclock: &[u8])
fn get_w(&self) -> Option<u32>
fn set_w(&mut self, w: u32)
fn get_dw(&self) -> Option<u32>
fn set_dw(&mut self, dw: u32)
fn get_return_body(&self) -> Option<bool>
fn set_return_body(&mut self, return_body: bool)
fn get_pw(&self) -> Option<u32>
fn set_pw(&mut self, pw: u32)
fn get_if_not_modified(&self) -> Option<bool>
fn set_if_not_modified(&mut self, if_not_modified: bool)
fn get_if_none_match(&self) -> Option<bool>
fn set_if_none_match(&mut self, if_none_match: bool)
fn get_return_head(&self) -> Option<bool>
fn set_return_head(&mut self, return_head: bool)
fn get_timeout(&self) -> Option<u32>
fn set_timeout(&mut self, timeout: u32)
fn get_asis(&self) -> Option<bool>
fn set_asis(&mut self, asis: bool)
fn get_sloppy_quorum(&self) -> Option<bool>
fn set_sloppy_quorum(&mut self, sloppy_quorum: bool)
fn get_n_val(&self) -> Option<u32>
fn set_n_val(&mut self, n_val: u32)
fn get_bucket_type(&self) -> Option<String>
fn set_bucket_type(&mut self, bucket_type: &str)
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