pub struct OperationsPurgeRequest {
pub async_: Option<bool>,
pub config: Option<String>,
pub filter: Option<String>,
pub fs: Option<String>,
pub group: Option<String>,
pub remote: Option<String>,
}Expand description
OperationsPurgeRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_config": {
"description": "JSON encoded config overrides applied for this call
only.",
"type": "string"
},
"_filter": {
"description": "JSON encoded filter overrides applied for this call
only.",
"type": "string"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"fs": {
"description": "Remote name or path from which to remove all
contents.",
"type": "string"
},
"remote": {
"description": "Path within `fs` whose contents should be purged.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
config: Option<String>JSON encoded config overrides applied for this call only.
filter: Option<String>JSON encoded filter overrides applied for this call only.
fs: Option<String>Remote name or path from which to remove all contents.
group: Option<String>Assign the request to a custom stats group.
remote: Option<String>Path within fs whose contents should be purged.
Trait Implementations§
Source§impl Clone for OperationsPurgeRequest
impl Clone for OperationsPurgeRequest
Source§fn clone(&self) -> OperationsPurgeRequest
fn clone(&self) -> OperationsPurgeRequest
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 OperationsPurgeRequest
impl Debug for OperationsPurgeRequest
Source§impl Default for OperationsPurgeRequest
impl Default for OperationsPurgeRequest
Source§impl<'de> Deserialize<'de> for OperationsPurgeRequest
impl<'de> Deserialize<'de> for OperationsPurgeRequest
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<&OperationsPurgeRequest> for OperationsPurgeRequest
impl From<&OperationsPurgeRequest> for OperationsPurgeRequest
Source§fn from(value: &OperationsPurgeRequest) -> Self
fn from(value: &OperationsPurgeRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsPurgeRequest
impl RefUnwindSafe for OperationsPurgeRequest
impl Send for OperationsPurgeRequest
impl Sync for OperationsPurgeRequest
impl Unpin for OperationsPurgeRequest
impl UnsafeUnpin for OperationsPurgeRequest
impl UnwindSafe for OperationsPurgeRequest
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