Struct garage_model::object_table::ObjectVersion
source · [−]pub struct ObjectVersion {
pub uuid: Uuid,
pub timestamp: u64,
pub state: ObjectVersionState,
}
Expand description
Informations about a version of an object
Fields
uuid: Uuid
Id of the version
timestamp: u64
Timestamp of when the object was created
state: ObjectVersionState
State of the version
Implementations
Is the object version currently being uploaded
Is the object version completely received
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ObjectVersion
impl Send for ObjectVersion
impl Sync for ObjectVersion
impl Unpin for ObjectVersion
impl UnwindSafe for ObjectVersion
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