Struct riak::object::FetchObjectResp
[−]
[src]
pub struct FetchObjectResp { /* fields omitted */ }
Represents the response received from Riak, including all siblings of the object, the vector clock, and "unchanged" if "if_modified" was set to true in the request.
Methods
impl FetchObjectResp
[src]
fn new(content: &Vec<ObjectContent>, vclock: &[u8]) -> FetchObjectResp
fn get_content(&self) -> Vec<ObjectContent>
fn set_content(&mut self, content: Vec<ObjectContent>)
fn get_vclock(&self) -> Vec<u8>
fn set_vclock(&mut self, vclock: Vec<u8>)
fn get_unchanged(&self) -> Option<bool>
fn set_unchanged(&mut self, unchanged: bool)
Trait Implementations
impl Clone for FetchObjectResp
[src]
fn clone(&self) -> FetchObjectResp
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