pub struct FileMeta {
pub sized_file: SizedFile,
pub last_modified: Option<DateTime<Utc>>,
}
Expand description
Description of a file as returned by the listing command of a given object store. The resulting path is relative to the object store that generated it.
Fields§
§sized_file: SizedFile
The path and size of the file.
last_modified: Option<DateTime<Utc>>
The last modification time of the file according to the object store metadata. This information might be used by catalog systems like Delta Lake for time travel (see https://github.com/delta-io/delta/issues/192)
Implementations§
Trait Implementations§
impl Eq for FileMeta
impl StructuralPartialEq for FileMeta
Auto Trait Implementations§
impl Freeze for FileMeta
impl RefUnwindSafe for FileMeta
impl Send for FileMeta
impl Sync for FileMeta
impl Unpin for FileMeta
impl UnwindSafe for FileMeta
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