pub struct EvidencePut {
pub sha256: String,
pub local_path: String,
pub abs_path: PathBuf,
pub byte_size: u64,
pub deduplicated: bool,
}Expand description
Result of Store::put_evidence.
Fields§
§sha256: StringBare lowercase hex sha256 digest of the bytes.
local_path: StringPath relative to the store root
(evidence/sha256/<2>/<2>/<digest>) — the form stored in
evidence.local_path and suitable for EvidenceRef.localPath.
abs_path: PathBufAbsolute filesystem path of the localized bytes.
byte_size: u64Byte size of the content.
deduplicated: booltrue when the content was already present (idempotent dedup).
Trait Implementations§
Source§impl Clone for EvidencePut
impl Clone for EvidencePut
Source§fn clone(&self) -> EvidencePut
fn clone(&self) -> EvidencePut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvidencePut
impl Debug for EvidencePut
impl Eq for EvidencePut
Source§impl PartialEq for EvidencePut
impl PartialEq for EvidencePut
impl StructuralPartialEq for EvidencePut
Auto Trait Implementations§
impl Freeze for EvidencePut
impl RefUnwindSafe for EvidencePut
impl Send for EvidencePut
impl Sync for EvidencePut
impl Unpin for EvidencePut
impl UnsafeUnpin for EvidencePut
impl UnwindSafe for EvidencePut
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