Struct riak::object::ObjectContent
[−]
[src]
pub struct ObjectContent { /* fields omitted */ }
Represents the actual value and metadata for the value being stored in Riak.
Examples
Methods
impl ObjectContent
[src]
fn new(value: &[u8]) -> ObjectContent
fn get_value(&self) -> Vec<u8>
fn set_value(&mut self, value: Vec<u8>)
fn get_content_type(&self) -> Option<String>
fn set_content_type(&mut self, content_type: &str)
fn get_charset(&self) -> Option<String>
fn set_charset(&mut self, charset: &str)
fn get_content_encoding(&self) -> Option<String>
fn set_content_encoding(&mut self, content_encoding: &str)
fn get_vtag(&self) -> Option<Vec<u8>>
fn set_vtag(&mut self, vtag: &Vec<u8>)
fn get_last_mod(&self) -> Option<u32>
fn set_last_mod(&mut self, last_mod: u32)
fn get_last_mod_usecs(&self) -> Option<u32>
fn set_last_mod_usecs(&mut self, last_mod_usecs: u32)
fn get_deleted(&self) -> Option<bool>
fn set_deleted(&mut self, deleted: bool)
Trait Implementations
impl Clone for ObjectContent
[src]
fn clone(&self) -> ObjectContent
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