Enum opendal::ObjectMetakey
source · pub enum ObjectMetakey {
Complete,
Mode,
ContentDisposition,
ContentLength,
ContentMd5,
ContentRange,
ContentType,
Etag,
LastModified,
}
Expand description
ObjectMetakey describes the metadata keys that can be stored or queried.
For store
Internally, we will store a flag set of ObjectMetakey to check whether we have set some key already.
For query
At user side, we will allow user to query the object metadata. If
the meta has been stored, we will return directly. If no, we will
call stat
internally to fecth the metadata.
Variants§
Complete
The special object metadata key that used to mark this object already contains all metadata.
Mode
Key for mode.
ContentDisposition
Key for content disposition.
ContentLength
Key for content length.
ContentMd5
Key for content md5.
ContentRange
Key for content range.
ContentType
Key for content type.
Etag
Key for etag.
LastModified
Key for last last modified.
Trait Implementations§
source§impl<R: Into<FlagSet<ObjectMetakey>>> BitAnd<R> for ObjectMetakey
impl<R: Into<FlagSet<ObjectMetakey>>> BitAnd<R> for ObjectMetakey
source§impl<R: Into<FlagSet<ObjectMetakey>>> BitOr<R> for ObjectMetakey
impl<R: Into<FlagSet<ObjectMetakey>>> BitOr<R> for ObjectMetakey
source§impl<R: Into<FlagSet<ObjectMetakey>>> BitXor<R> for ObjectMetakey
impl<R: Into<FlagSet<ObjectMetakey>>> BitXor<R> for ObjectMetakey
source§impl Clone for ObjectMetakey
impl Clone for ObjectMetakey
source§fn clone(&self) -> ObjectMetakey
fn clone(&self) -> ObjectMetakey
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 ObjectMetakey
impl Debug for ObjectMetakey
source§impl From<ObjectMetakey> for FlagSet<ObjectMetakey>
impl From<ObjectMetakey> for FlagSet<ObjectMetakey>
source§fn from(value: ObjectMetakey) -> Self
fn from(value: ObjectMetakey) -> Self
Converts to this type from the input type.
source§impl Not for ObjectMetakey
impl Not for ObjectMetakey
source§impl PartialEq<ObjectMetakey> for ObjectMetakey
impl PartialEq<ObjectMetakey> for ObjectMetakey
source§fn eq(&self, other: &ObjectMetakey) -> bool
fn eq(&self, other: &ObjectMetakey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<R: Into<FlagSet<ObjectMetakey>>> Rem<R> for ObjectMetakey
impl<R: Into<FlagSet<ObjectMetakey>>> Rem<R> for ObjectMetakey
source§impl<R: Into<FlagSet<ObjectMetakey>>> Sub<R> for ObjectMetakey
impl<R: Into<FlagSet<ObjectMetakey>>> Sub<R> for ObjectMetakey
impl Copy for ObjectMetakey
impl Eq for ObjectMetakey
impl StructuralEq for ObjectMetakey
impl StructuralPartialEq for ObjectMetakey
Auto Trait Implementations§
impl RefUnwindSafe for ObjectMetakey
impl Send for ObjectMetakey
impl Sync for ObjectMetakey
impl Unpin for ObjectMetakey
impl UnwindSafe for ObjectMetakey
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.