pub struct VfsStatsRequest {
pub async_: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
}Expand description
VfsStatsRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"fs": {
"description": "Optional VFS identifier whose statistics should be
returned.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
fs: Option<String>Optional VFS identifier whose statistics should be returned.
group: Option<String>Assign the request to a custom stats group.
Trait Implementations§
Source§impl Clone for VfsStatsRequest
impl Clone for VfsStatsRequest
Source§fn clone(&self) -> VfsStatsRequest
fn clone(&self) -> VfsStatsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VfsStatsRequest
impl Debug for VfsStatsRequest
Source§impl Default for VfsStatsRequest
impl Default for VfsStatsRequest
Source§impl<'de> Deserialize<'de> for VfsStatsRequest
impl<'de> Deserialize<'de> for VfsStatsRequest
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<&VfsStatsRequest> for VfsStatsRequest
impl From<&VfsStatsRequest> for VfsStatsRequest
Source§fn from(value: &VfsStatsRequest) -> Self
fn from(value: &VfsStatsRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VfsStatsRequest
impl RefUnwindSafe for VfsStatsRequest
impl Send for VfsStatsRequest
impl Sync for VfsStatsRequest
impl Unpin for VfsStatsRequest
impl UnsafeUnpin for VfsStatsRequest
impl UnwindSafe for VfsStatsRequest
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