pub struct OperationsStatRequest {
pub async_: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
pub opt: Option<String>,
pub remote: Option<String>,
}Expand description
OperationsStatRequest
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": "Remote name or path that contains the item to
inspect.",
"type": "string"
},
"opt": {
"description": "Optional JSON object of listing flags, matching
those accepted by `operations/list`.",
"type": "string"
},
"remote": {
"description": "Path to the file or directory within `fs` to
describe.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
fs: Option<String>Remote name or path that contains the item to inspect.
group: Option<String>Assign the request to a custom stats group.
opt: Option<String>Optional JSON object of listing flags, matching those accepted by
operations/list.
remote: Option<String>Path to the file or directory within fs to describe.
Trait Implementations§
Source§impl Clone for OperationsStatRequest
impl Clone for OperationsStatRequest
Source§fn clone(&self) -> OperationsStatRequest
fn clone(&self) -> OperationsStatRequest
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 OperationsStatRequest
impl Debug for OperationsStatRequest
Source§impl Default for OperationsStatRequest
impl Default for OperationsStatRequest
Source§impl<'de> Deserialize<'de> for OperationsStatRequest
impl<'de> Deserialize<'de> for OperationsStatRequest
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<&OperationsStatRequest> for OperationsStatRequest
impl From<&OperationsStatRequest> for OperationsStatRequest
Source§fn from(value: &OperationsStatRequest) -> Self
fn from(value: &OperationsStatRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsStatRequest
impl RefUnwindSafe for OperationsStatRequest
impl Send for OperationsStatRequest
impl Sync for OperationsStatRequest
impl Unpin for OperationsStatRequest
impl UnsafeUnpin for OperationsStatRequest
impl UnwindSafe for OperationsStatRequest
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