pub struct OperationsDeletefileRequest {
pub async_: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
pub remote: Option<String>,
}Expand description
OperationsDeletefileRequest
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 file to
delete.",
"type": "string"
},
"remote": {
"description": "Exact path to the file within `fs` that should be
deleted.",
"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 file to delete.
group: Option<String>Assign the request to a custom stats group.
remote: Option<String>Exact path to the file within fs that should be deleted.
Trait Implementations§
Source§impl Clone for OperationsDeletefileRequest
impl Clone for OperationsDeletefileRequest
Source§fn clone(&self) -> OperationsDeletefileRequest
fn clone(&self) -> OperationsDeletefileRequest
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 OperationsDeletefileRequest
impl Debug for OperationsDeletefileRequest
Source§impl<'de> Deserialize<'de> for OperationsDeletefileRequest
impl<'de> Deserialize<'de> for OperationsDeletefileRequest
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<&OperationsDeletefileRequest> for OperationsDeletefileRequest
impl From<&OperationsDeletefileRequest> for OperationsDeletefileRequest
Source§fn from(value: &OperationsDeletefileRequest) -> Self
fn from(value: &OperationsDeletefileRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsDeletefileRequest
impl RefUnwindSafe for OperationsDeletefileRequest
impl Send for OperationsDeletefileRequest
impl Sync for OperationsDeletefileRequest
impl Unpin for OperationsDeletefileRequest
impl UnsafeUnpin for OperationsDeletefileRequest
impl UnwindSafe for OperationsDeletefileRequest
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