pub struct ManifestLocation {
pub version: u64,
pub path: Path,
pub size: Option<u64>,
pub naming_scheme: ManifestNamingScheme,
pub e_tag: Option<String>,
}
Fields§
§version: u64
The version the manifest corresponds to.
path: Path
Path of the manifest file, relative to the table root.
size: Option<u64>
Size, in bytes, of the manifest file. If it is not known, this field should be None
.
naming_scheme: ManifestNamingScheme
Naming scheme of the manifest file.
e_tag: Option<String>
Optional e-tag, used for integrity checks. Manifests should be immutable, so if we detect a change in the e-tag, it means the manifest was tampered with. This might happen if the dataset was deleted and then re-created.
Trait Implementations§
Source§impl Clone for ManifestLocation
impl Clone for ManifestLocation
Source§fn clone(&self) -> ManifestLocation
fn clone(&self) -> ManifestLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ManifestLocation
impl Debug for ManifestLocation
Source§impl TryFrom<ObjectMeta> for ManifestLocation
impl TryFrom<ObjectMeta> for ManifestLocation
Auto Trait Implementations§
impl Freeze for ManifestLocation
impl RefUnwindSafe for ManifestLocation
impl Send for ManifestLocation
impl Sync for ManifestLocation
impl Unpin for ManifestLocation
impl UnwindSafe for ManifestLocation
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.