Struct riak::object::ObjectContent
[−]
[src]
pub struct ObjectContent(_);
ObjectContent
represents the contents of a Riak object
Methods
impl ObjectContent
[src]
fn new<T: Into<Vec<u8>>>(value: T) -> ObjectContent
fn get_value(&self) -> &[u8]
gets the "value" property
fn set_value<T: Into<Vec<u8>>>(&mut self, value: T)
sets the "value" property
fn get_content_type(&self) -> Option<&[u8]>
gets the "content_type" property
fn set_content_type<T: Into<Vec<u8>>>(&mut self, content_type: T)
sets the "content_type" property
fn get_charset(&self) -> Option<&[u8]>
gets the "charset" property
fn set_charset<T: Into<Vec<u8>>>(&mut self, charset: T)
set the "charset" property
fn get_content_encoding(&self) -> Option<&[u8]>
get the "content_encoding" property
fn set_content_encoding<T: Into<Vec<u8>>>(&mut self, content_encoding: T)
set the "content_encoding" property
fn get_vtag(&self) -> Option<&[u8]>
get the "vtag" property
fn set_vtag<T: Into<Vec<u8>>>(&mut self, vtag: T)
set the "vtag" property
fn get_last_mod(&self) -> Option<u32>
get the "last_mod" property
fn set_last_mod(&mut self, last_mod: u32)
set the "last_mod" property
fn get_last_mod_usecs(&self) -> Option<u32>
get the "last_mod_usecs" property
fn set_last_mod_usecs(&mut self, last_mod_usecs: u32)
set the "last_mod_usecs" property
fn get_deleted(&self) -> Option<bool>
get the "deleted" property
fn set_deleted(&mut self, deleted: bool)
set the "deleted" property
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