Struct rocfl::ocfl::FileDetails [−][src]
pub struct FileDetails {
pub digest: Rc<HexDigest>,
pub digest_algorithm: DigestAlgorithm,
pub content_path: Rc<ContentPath>,
pub storage_path: String,
pub last_update: Rc<VersionDetails>,
}
Expand description
Details about a file in an OCFL object
Fields
digest: Rc<HexDigest>
The file’s digest
digest_algorithm: DigestAlgorithm
The digest algorithm
content_path: Rc<ContentPath>
The path to the file relative the object root
storage_path: String
The path to the file relative the storage root
last_update: Rc<VersionDetails>
The version metadata for when the file was last updated
Implementations
pub fn new(
content_path: Rc<ContentPath>,
storage_path: String,
digest: Rc<HexDigest>,
digest_algorithm: DigestAlgorithm,
version_details: Rc<VersionDetails>
) -> Self
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 FileDetails
impl !Send for FileDetails
impl !Sync for FileDetails
impl Unpin for FileDetails
impl UnwindSafe for FileDetails
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