pub struct ServerProperties {Show 15 fields
pub state: String,
pub endpoint: String,
pub scheme: String,
pub uptime: u64,
pub version: String,
pub commit_id: String,
pub network: HashMap<String, String>,
pub disks: Vec<Disk>,
pub pool_number: i32,
pub pool_numbers: Vec<i32>,
pub mem_stats: MemStats,
pub max_procs: u64,
pub num_cpu: u64,
pub runtime_version: String,
pub rustfs_env_vars: HashMap<String, String>,
}Fields§
§state: String§endpoint: String§scheme: String§uptime: u64§version: String§commit_id: String§network: HashMap<String, String>§disks: Vec<Disk>§pool_number: i32§pool_numbers: Vec<i32>§mem_stats: MemStats§max_procs: u64§num_cpu: u64§runtime_version: String§rustfs_env_vars: HashMap<String, String>Trait Implementations§
Source§impl Debug for ServerProperties
impl Debug for ServerProperties
Source§impl Default for ServerProperties
impl Default for ServerProperties
Source§fn default() -> ServerProperties
fn default() -> ServerProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerProperties
impl<'de> Deserialize<'de> for ServerProperties
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServerProperties
impl RefUnwindSafe for ServerProperties
impl Send for ServerProperties
impl Sync for ServerProperties
impl Unpin for ServerProperties
impl UnsafeUnpin for ServerProperties
impl UnwindSafe for ServerProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more