pub struct OperationsRmdirsRequest {
pub async_: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
pub leave_root: Option<bool>,
pub remote: Option<String>,
}Expand description
OperationsRmdirsRequest
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 to scan for empty
directories.",
"type": "string"
},
"leaveRoot": {
"description": "Set to true to preserve the top-level directory
even if empty.",
"type": "boolean"
},
"remote": {
"description": "Path within `fs` whose empty subdirectories should
be removed.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
fs: Option<String>Remote name or path to scan for empty directories.
group: Option<String>Assign the request to a custom stats group.
leave_root: Option<bool>Set to true to preserve the top-level directory even if empty.
remote: Option<String>Path within fs whose empty subdirectories should be removed.
Trait Implementations§
Source§impl Clone for OperationsRmdirsRequest
impl Clone for OperationsRmdirsRequest
Source§fn clone(&self) -> OperationsRmdirsRequest
fn clone(&self) -> OperationsRmdirsRequest
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 OperationsRmdirsRequest
impl Debug for OperationsRmdirsRequest
Source§impl Default for OperationsRmdirsRequest
impl Default for OperationsRmdirsRequest
Source§impl<'de> Deserialize<'de> for OperationsRmdirsRequest
impl<'de> Deserialize<'de> for OperationsRmdirsRequest
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<&OperationsRmdirsRequest> for OperationsRmdirsRequest
impl From<&OperationsRmdirsRequest> for OperationsRmdirsRequest
Source§fn from(value: &OperationsRmdirsRequest) -> Self
fn from(value: &OperationsRmdirsRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsRmdirsRequest
impl RefUnwindSafe for OperationsRmdirsRequest
impl Send for OperationsRmdirsRequest
impl Sync for OperationsRmdirsRequest
impl Unpin for OperationsRmdirsRequest
impl UnsafeUnpin for OperationsRmdirsRequest
impl UnwindSafe for OperationsRmdirsRequest
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