Struct rocfl::ocfl::ObjectVersionDetails [−][src]
pub struct ObjectVersionDetails {
pub id: String,
pub object_root: String,
pub digest_algorithm: DigestAlgorithm,
pub version_details: VersionDetails,
}
Expand description
Similar to ObjectVersion
, except it does not contain the state map.
Fields
id: String
The object’s ID
object_root: String
The path from the storage root to the object root
digest_algorithm: DigestAlgorithm
The algorithm used to calculate digests (sha512 or sha256)
version_details: VersionDetails
Metadata about the version
Implementations
Creates ObjectVersionDetails
by consuming the Inventory
.
Trait Implementations
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 ObjectVersionDetails
impl Send for ObjectVersionDetails
impl Sync for ObjectVersionDetails
impl Unpin for ObjectVersionDetails
impl UnwindSafe for ObjectVersionDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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