pub struct FileMeta {
pub object_meta: ObjectMeta,
pub range: Option<FileRange>,
pub extensions: Option<Arc<dyn Any + Send + Sync>>,
pub metadata_size_hint: Option<usize>,
}Expand description
A single file or part of a file that should be read, along with its schema, statistics
Fields§
§object_meta: ObjectMetaPath for the file (e.g. URL, filesystem path, etc)
range: Option<FileRange>An optional file range for a more fine-grained parallel execution
extensions: Option<Arc<dyn Any + Send + Sync>>An optional field for user defined per object metadata
metadata_size_hint: Option<usize>Size hint for the metadata of this file
Implementations§
Trait Implementations§
Source§impl From<ObjectMeta> for FileMeta
impl From<ObjectMeta> for FileMeta
Source§fn from(object_meta: ObjectMeta) -> Self
fn from(object_meta: ObjectMeta) -> Self
Converts to this type from the input type.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more