Struct crushtool::CephCrushMap
[−]
[src]
pub struct CephCrushMap { pub failure_domain: String, pub buckets: Vec<CephBucket>, pub pools: Vec<CephPool>, }
Fields
failure_domain: String
buckets: Vec<CephBucket>
pools: Vec<CephPool>
Methods
impl CephCrushMap
[src]
fn to_crushmap(self) -> CrushMap
Trait Implementations
impl Clone for CephCrushMap
[src]
fn clone(&self) -> CephCrushMap
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
impl Debug for CephCrushMap
[src]
impl Eq for CephCrushMap
[src]
impl PartialEq for CephCrushMap
[src]
fn eq(&self, __arg_0: &CephCrushMap) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CephCrushMap) -> bool
This method tests for !=
.
impl Decodable for CephCrushMap
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CephCrushMap, __D::Error>
Deserialize a value using a Decoder
.