pub struct OperationsListResponse {
pub list: Vec<OperationsListResponseListItem>,
}Expand description
OperationsListResponse
JSON schema
{
"type": "object",
"required": [
"list"
],
"properties": {
"list": {
"description": "Array of entries equivalent to the items returned
by `rclone lsjson`.",
"type": "array",
"items": {
"type": "object",
"required": [
"IsDir",
"Name",
"Path"
],
"properties": {
"Encrypted": {
"description": "Encrypted entry name when using crypt
remotes.",
"type": "string"
},
"EncryptedPath": {
"description": "Encrypted path when using crypt remotes.",
"type": "string"
},
"Hashes": {
"description": "Hash digests keyed by algorithm when
requested.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"ID": {
"description": "Backend-specific identifier when provided.",
"type": "string"
},
"IsBucket": {
"description": "True for bucket/root entries on bucket-based
remotes.",
"type": "boolean"
},
"IsDir": {
"description": "True if the entry represents a directory.",
"type": "boolean"
},
"Metadata": {
"description": "Backend-provided metadata map.",
"type": "object",
"additionalProperties": {}
},
"MimeType": {
"description": "MIME type where available.",
"type": "string"
},
"ModTime": {
"description": "Modification timestamp in RFC3339 format.",
"type": "string"
},
"Name": {
"description": "Base name of the entry.",
"type": "string"
},
"OrigID": {
"description": "Original backend identifier when recorded.",
"type": "string"
},
"Path": {
"description": "Path relative to the requested remote root.",
"type": "string"
},
"Size": {
"description": "Object size in bytes.",
"type": "number"
},
"Tier": {
"description": "Storage class or tier, if supplied by the
backend.",
"type": "string"
}
}
}
}
}
}Fields§
§list: Vec<OperationsListResponseListItem>Array of entries equivalent to the items returned by rclone lsjson.
Trait Implementations§
Source§impl Clone for OperationsListResponse
impl Clone for OperationsListResponse
Source§fn clone(&self) -> OperationsListResponse
fn clone(&self) -> OperationsListResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 OperationsListResponse
impl Debug for OperationsListResponse
Source§impl<'de> Deserialize<'de> for OperationsListResponse
impl<'de> Deserialize<'de> for OperationsListResponse
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<&OperationsListResponse> for OperationsListResponse
impl From<&OperationsListResponse> for OperationsListResponse
Source§fn from(value: &OperationsListResponse) -> Self
fn from(value: &OperationsListResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsListResponse
impl RefUnwindSafe for OperationsListResponse
impl Send for OperationsListResponse
impl Sync for OperationsListResponse
impl Unpin for OperationsListResponse
impl UnwindSafe for OperationsListResponse
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