pub struct OperationsListRequest {Show 17 fields
pub async_: Option<bool>,
pub config: Option<String>,
pub dirs_only: Option<bool>,
pub files_only: Option<bool>,
pub filter: Option<String>,
pub fs: Option<String>,
pub group: Option<String>,
pub hash_types: Vec<String>,
pub metadata: Option<bool>,
pub no_mime_type: Option<bool>,
pub no_mod_time: Option<bool>,
pub opt: Option<String>,
pub recurse: Option<bool>,
pub remote: Option<String>,
pub show_encrypted: Option<bool>,
pub show_hash: Option<bool>,
pub show_orig_i_ds: Option<bool>,
}Expand description
OperationsListRequest
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"
},
"dirsOnly": {
"description": "Set to true to return only directory entries.",
"type": "boolean"
},
"filesOnly": {
"description": "Set to true to return only file entries.",
"type": "boolean"
},
"fs": {
"description": "Remote name or path to list, for example
`drive:`.",
"type": "string"
},
"hashTypes": {
"description": "Specify one or more hash algorithms to include when
`showHash` is true (e.g. `md5`).",
"type": "array",
"items": {
"type": "string"
}
},
"metadata": {
"description": "Set to true to include backend-provided metadata
maps.",
"type": "boolean"
},
"noMimeType": {
"description": "Set to true to omit MIME type detection.",
"type": "boolean"
},
"noModTime": {
"description": "Set to true to omit modification times for faster
listings on some backends.",
"type": "boolean"
},
"opt": {
"description": "Optional JSON-encoded object of listing flags (e.g.
`{ \"recurse\": true, \"showHash\": true }`).",
"type": "string"
},
"recurse": {
"description": "Set to true to list directories recursively.",
"type": "boolean"
},
"remote": {
"description": "Directory path within `fs` to list; leave empty to
target the root.",
"type": "string"
},
"showEncrypted": {
"description": "Set to true to include encrypted names when using
crypt remotes.",
"type": "boolean"
},
"showHash": {
"description": "Set to true to include hash digests for each
entry.",
"type": "boolean"
},
"showOrigIDs": {
"description": "Set to true to include original backend identifiers
where available.",
"type": "boolean"
}
}
}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.
dirs_only: Option<bool>Set to true to return only directory entries.
files_only: Option<bool>Set to true to return only file entries.
filter: Option<String>JSON encoded filter overrides applied for this call only.
fs: Option<String>Remote name or path to list, for example drive:.
group: Option<String>Assign the request to a custom stats group.
hash_types: Vec<String>Specify one or more hash algorithms to include when showHash is
true (e.g. md5).
metadata: Option<bool>Set to true to include backend-provided metadata maps.
no_mime_type: Option<bool>Set to true to omit MIME type detection.
no_mod_time: Option<bool>Set to true to omit modification times for faster listings on some backends.
opt: Option<String>Optional JSON-encoded object of listing flags (e.g. { "recurse": true, "showHash": true }).
recurse: Option<bool>Set to true to list directories recursively.
remote: Option<String>Directory path within fs to list; leave empty to target the root.
show_encrypted: Option<bool>Set to true to include encrypted names when using crypt remotes.
show_hash: Option<bool>Set to true to include hash digests for each entry.
show_orig_i_ds: Option<bool>Set to true to include original backend identifiers where available.
Trait Implementations§
Source§impl Clone for OperationsListRequest
impl Clone for OperationsListRequest
Source§fn clone(&self) -> OperationsListRequest
fn clone(&self) -> OperationsListRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more