pub struct ObjectMeta {
pub location: Path,
pub last_modified: DateTime<Utc>,
pub size: u64,
pub e_tag: Option<String>,
pub version: Option<String>,
}
Expand description
The metadata that describes an object.
Fields§
§location: Path
The full path to the object
last_modified: DateTime<Utc>
The last modified time
size: u64
The size in bytes of the object.
Note this is not usize
as object_store
supports 32-bit architectures such as WASM
e_tag: Option<String>
The unique identifier for the object
version: Option<String>
A version indicator for this object
Trait Implementations§
Source§impl Clone for ObjectMeta
impl Clone for ObjectMeta
Source§fn clone(&self) -> ObjectMeta
fn clone(&self) -> ObjectMeta
Returns a copy 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 Debug for ObjectMeta
impl Debug for ObjectMeta
Source§impl PartialEq for ObjectMeta
impl PartialEq for ObjectMeta
Source§impl TryFrom<&Add> for ObjectMeta
impl TryFrom<&Add> for ObjectMeta
Source§type Error = DeltaTableError
type Error = DeltaTableError
The type returned in the event of a conversion error.
Source§fn try_from(value: &Add) -> DeltaResult<Self>
fn try_from(value: &Add) -> DeltaResult<Self>
Performs the conversion.
Source§impl<'a> TryFrom<&LogicalFile<'a>> for ObjectMeta
impl<'a> TryFrom<&LogicalFile<'a>> for ObjectMeta
Source§type Error = DeltaTableError
type Error = DeltaTableError
The type returned in the event of a conversion error.
Source§impl TryFrom<Add> for ObjectMeta
impl TryFrom<Add> for ObjectMeta
Source§type Error = DeltaTableError
type Error = DeltaTableError
The type returned in the event of a conversion error.
Source§fn try_from(value: Add) -> DeltaResult<Self>
fn try_from(value: Add) -> DeltaResult<Self>
Performs the conversion.
Source§impl TryFrom<Blob> for ObjectMeta
impl TryFrom<Blob> for ObjectMeta
Source§impl TryFrom<ListContents> for ObjectMeta
impl TryFrom<ListContents> for ObjectMeta
impl Eq for ObjectMeta
impl StructuralPartialEq for ObjectMeta
Auto Trait Implementations§
impl Freeze for ObjectMeta
impl RefUnwindSafe for ObjectMeta
impl Send for ObjectMeta
impl Sync for ObjectMeta
impl Unpin for ObjectMeta
impl UnwindSafe for ObjectMeta
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
fn any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
Obtains a
dyn Any
reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Sync + Send>
fn as_any(self: Arc<T>) -> Arc<dyn Any + Sync + Send>
Obtains an
Arc<dyn Any>
reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
fn into_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
Converts the object to
Box<dyn Any>
: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Convenient wrapper for
std::any::type_name
, since Any
does not provide it and
Any::type_id
is useless as a debugging aid (its Debug
is just a mess of hex digits).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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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 more