pub struct VfsStatsResponse {
pub disk_cache: Option<Map<String, Value>>,
pub fs: String,
pub in_use: i64,
pub metadata_cache: HashMap<String, i64>,
pub opt: Map<String, Value>,
}Expand description
VfsStatsResponse
JSON schema
{
"type": "object",
"required": [
"fs",
"inUse",
"metadataCache",
"opt"
],
"properties": {
"diskCache": {
"description": "Disk cache metrics when caching is enabled.",
"type": [
"object",
"null"
],
"additionalProperties": true
},
"fs": {
"description": "Name of the VFS.",
"type": "string"
},
"inUse": {
"description": "Number of active references to the VFS.",
"type": "integer"
},
"metadataCache": {
"description": "In-memory metadata cache counters.",
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"opt": {
"description": "Effective options applied to the VFS.",
"type": "object",
"additionalProperties": true
}
}
}Fields§
§disk_cache: Option<Map<String, Value>>Disk cache metrics when caching is enabled.
fs: StringName of the VFS.
in_use: i64Number of active references to the VFS.
metadata_cache: HashMap<String, i64>In-memory metadata cache counters.
opt: Map<String, Value>Effective options applied to the VFS.
Trait Implementations§
Source§impl Clone for VfsStatsResponse
impl Clone for VfsStatsResponse
Source§fn clone(&self) -> VfsStatsResponse
fn clone(&self) -> VfsStatsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VfsStatsResponse
impl Debug for VfsStatsResponse
Source§impl<'de> Deserialize<'de> for VfsStatsResponse
impl<'de> Deserialize<'de> for VfsStatsResponse
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
Source§impl From<&VfsStatsResponse> for VfsStatsResponse
impl From<&VfsStatsResponse> for VfsStatsResponse
Source§fn from(value: &VfsStatsResponse) -> Self
fn from(value: &VfsStatsResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VfsStatsResponse
impl RefUnwindSafe for VfsStatsResponse
impl Send for VfsStatsResponse
impl Sync for VfsStatsResponse
impl Unpin for VfsStatsResponse
impl UnwindSafe for VfsStatsResponse
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