Struct garage_model::object_table::Object
source · [−]Expand description
An object
Fields
bucket_id: Uuid
The bucket in which the object is stored, used as partition key
key: String
The key at which the object is stored in its bucket, used as sorting key
Implementations
Initialize an Object struct from parts
Adds a version if it wasn’t already present
Get a list of currently stored versions of Object
Trait Implementations
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
Get the key used to partition
Is the entry a tombstone? Default implementation always return false
Auto Trait Implementations
impl RefUnwindSafe for Object
impl UnwindSafe for Object
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more