Class: OpenDAL::Metadata
- Inherits:
-
Object
- Object
- OpenDAL::Metadata
- Defined in:
- src/metadata.rs
Overview
Metadata about the file.
Instance Method Summary collapse
-
#content_disposition ⇒ String?
Content-Disposition of this object.
-
#content_length ⇒ Integer
Content length of this entry.
-
#content_md5 ⇒ String?
Content MD5 of this entry.
-
#content_type ⇒ String?
Content Type of this entry.
-
#dir? ⇒ Boolean
Returns
True
if this is a directory. -
#etag ⇒ String?
ETag of this entry.
-
#file? ⇒ Boolean
Returns
True
if this is a file.
Instance Method Details
#content_disposition ⇒ String?
Content-Disposition of this object
49 50 51 |
# File 'src/metadata.rs', line 49
pub fn content_disposition(&self) -> Option<&str> {
self.0.content_disposition()
}
|
#content_length ⇒ Integer
Content length of this entry.
57 58 59 |
# File 'src/metadata.rs', line 57
pub fn content_length(&self) -> u64 {
self.0.content_length()
}
|
#content_md5 ⇒ String?
Content MD5 of this entry.
65 66 67 |
# File 'src/metadata.rs', line 65
pub fn content_md5(&self) -> Option<&str> {
self.0.content_md5()
}
|
#content_type ⇒ String?
Content Type of this entry.
73 74 75 |
# File 'src/metadata.rs', line 73
pub fn content_type(&self) -> Option<&str> {
self.0.content_type()
}
|
#dir? ⇒ Boolean
Returns True
if this is a directory.
97 98 99 100 |
# File 'src/metadata.rs', line 97
pub fn is_dir(&self) -> bool {
self.0.is_dir()
}
}
|
#etag ⇒ String?
ETag of this entry.
81 82 83 |
# File 'src/metadata.rs', line 81
pub fn etag(&self) -> Option<&str> {
self.0.etag()
}
|
#file? ⇒ Boolean
Returns True
if this is a file.
89 90 91 |
# File 'src/metadata.rs', line 89
pub fn is_file(&self) -> bool {
self.0.is_file()
}
|