pub struct OperationsListResponseListItem {Show 14 fields
pub encrypted: Option<String>,
pub encrypted_path: Option<String>,
pub hashes: HashMap<String, String>,
pub id: Option<String>,
pub is_bucket: Option<bool>,
pub is_dir: bool,
pub metadata: Map<String, Value>,
pub mime_type: Option<String>,
pub mod_time: Option<String>,
pub name: String,
pub orig_id: Option<String>,
pub path: String,
pub size: Option<f64>,
pub tier: Option<String>,
}Expand description
OperationsListResponseListItem
JSON schema
{
"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§
§encrypted: Option<String>Encrypted entry name when using crypt remotes.
encrypted_path: Option<String>Encrypted path when using crypt remotes.
hashes: HashMap<String, String>Hash digests keyed by algorithm when requested.
id: Option<String>Backend-specific identifier when provided.
is_bucket: Option<bool>True for bucket/root entries on bucket-based remotes.
is_dir: boolTrue if the entry represents a directory.
metadata: Map<String, Value>Backend-provided metadata map.
mime_type: Option<String>MIME type where available.
mod_time: Option<String>Modification timestamp in RFC3339 format.
name: StringBase name of the entry.
orig_id: Option<String>Original backend identifier when recorded.
path: StringPath relative to the requested remote root.
size: Option<f64>§tier: Option<String>Storage class or tier, if supplied by the backend.
Trait Implementations§
Source§impl Clone for OperationsListResponseListItem
impl Clone for OperationsListResponseListItem
Source§fn clone(&self) -> OperationsListResponseListItem
fn clone(&self) -> OperationsListResponseListItem
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<'de> Deserialize<'de> for OperationsListResponseListItem
impl<'de> Deserialize<'de> for OperationsListResponseListItem
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<&OperationsListResponseListItem> for OperationsListResponseListItem
impl From<&OperationsListResponseListItem> for OperationsListResponseListItem
Source§fn from(value: &OperationsListResponseListItem) -> Self
fn from(value: &OperationsListResponseListItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsListResponseListItem
impl RefUnwindSafe for OperationsListResponseListItem
impl Send for OperationsListResponseListItem
impl Sync for OperationsListResponseListItem
impl Unpin for OperationsListResponseListItem
impl UnwindSafe for OperationsListResponseListItem
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