pub struct NodesCephLspoolsResponseDataInner {Show 17 fields
pub application_metadata: Option<Value>,
pub autoscale_status: Option<Value>,
pub bytes_used: Option<i64>,
pub crush_rule: i64,
pub crush_rule_name: Option<String>,
pub min_size: i64,
pub percent_used: Option<f64>,
pub pg_autoscale_mode: Option<String>,
pub pg_num: i64,
pub pg_num_final: Option<i64>,
pub pg_num_min: Option<i64>,
pub pool: i64,
pub pool_name: String,
pub size: i64,
pub target_size: Option<i64>,
pub target_size_ratio: Option<f64>,
pub type: PveNodesCephTypeEnum,
}Fields§
§application_metadata: Option<Value>Application tags attached to the pool (mapping of application name to its metadata object).
autoscale_status: Option<Value>Raw pg_autoscaler status object for this pool; shape varies between Ceph releases.
bytes_used: Option<i64>Bytes currently used in the pool; absent if no usage statistics are reported.
crush_rule: i64Numeric id of the CRUSH rule used by this pool.
crush_rule_name: Option<String>Human-readable name of the CRUSH rule used by this pool; absent if the rule id is not in the current CRUSH map.
min_size: i64Minimum number of replicas required to accept writes.
percent_used: Option<f64>Percentage of pool capacity currently used; absent if no usage statistics are reported.
pg_autoscale_mode: Option<String>Placement-group autoscaler mode (‘on’, ‘warn’ or ‘off’).
pg_num: i64Current placement-group count.
pg_num_final: Option<i64>Optimal placement-group count computed by pg_autoscaler.
pg_num_min: Option<i64>Minimum placement-group count the pg_autoscaler may choose.
pool: i64Numeric pool id assigned by Ceph.
pool_name: StringOperator-visible name of the pool.
size: i64Replication factor (target number of object replicas).
target_size: Option<i64>Operator-supplied target size in bytes; hints the pg_autoscaler.
target_size_ratio: Option<f64>Operator-supplied target ratio of total pool capacity; hints the pg_autoscaler.
type: PveNodesCephTypeEnumPool type: ‘replicated’ for n-way replication, ‘erasure’ for an erasure-coded pool, ‘unknown’ for types PVE does not yet map.
Implementations§
Source§impl NodesCephLspoolsResponseDataInner
impl NodesCephLspoolsResponseDataInner
pub fn new( crush_rule: i64, min_size: i64, pg_num: i64, pool: i64, pool_name: String, size: i64, type: PveNodesCephTypeEnum, ) -> NodesCephLspoolsResponseDataInner
Trait Implementations§
Source§impl Clone for NodesCephLspoolsResponseDataInner
impl Clone for NodesCephLspoolsResponseDataInner
Source§fn clone(&self) -> NodesCephLspoolsResponseDataInner
fn clone(&self) -> NodesCephLspoolsResponseDataInner
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for NodesCephLspoolsResponseDataInner
impl Default for NodesCephLspoolsResponseDataInner
Source§fn default() -> NodesCephLspoolsResponseDataInner
fn default() -> NodesCephLspoolsResponseDataInner
Source§impl<'de> Deserialize<'de> for NodesCephLspoolsResponseDataInner
impl<'de> Deserialize<'de> for NodesCephLspoolsResponseDataInner
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for NodesCephLspoolsResponseDataInner
impl PartialEq for NodesCephLspoolsResponseDataInner
Source§fn eq(&self, other: &NodesCephLspoolsResponseDataInner) -> bool
fn eq(&self, other: &NodesCephLspoolsResponseDataInner) -> bool
self and other values to be equal, and is used by ==.