pub struct Object {
pub key: String,
pub size: u64,
pub etag: String,
pub last_modified_ms: u64,
}Expand description
A single object as observed via StorageClientPlugin::list_page.
etag is the backend’s content-addressable identifier — opaque to
callers, but stable for a given (key, content) pair. Useful for cache
validators and idempotent writes. size is the object size in bytes.
last_modified_ms is the unix millisecond of the backend’s last-write
timestamp, or 0 if the backend does not expose one.
Fields§
§key: String§size: u64§etag: String§last_modified_ms: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Object
impl<'de> Deserialize<'de> for Object
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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