pub struct BlobMeta {
pub key: String,
pub size: u64,
pub content_type: String,
}Expand description
What a store knows about an object without reading its bytes
(issue #586): the metadata a Blob::head call returns, and one row
of a BlobPage.
Fields§
§key: StringThe key, module-relative when it came through a ScopedBlob.
size: u64The object’s size in bytes.
content_type: StringThe content type it was stored with.
Trait Implementations§
impl Eq for BlobMeta
impl StructuralPartialEq for BlobMeta
Auto Trait Implementations§
impl Freeze for BlobMeta
impl RefUnwindSafe for BlobMeta
impl Send for BlobMeta
impl Sync for BlobMeta
impl Unpin for BlobMeta
impl UnsafeUnpin for BlobMeta
impl UnwindSafe for BlobMeta
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<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.