pub struct PayloadDigestEntry {
pub path: String,
pub kind: PayloadDigestKind,
pub content_sha256: String,
}Expand description
One payload entry as the digest sees it.
Fields§
§path: StringPayload-relative path, forward slashes.
kind: PayloadDigestKindWhether the record describes a file or a link.
content_sha256: StringLowercase hex SHA-256 of the file’s bytes, or of the link body.
Trait Implementations§
Source§impl Clone for PayloadDigestEntry
impl Clone for PayloadDigestEntry
Source§fn clone(&self) -> PayloadDigestEntry
fn clone(&self) -> PayloadDigestEntry
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 PayloadDigestEntry
impl Debug for PayloadDigestEntry
impl Eq for PayloadDigestEntry
Source§impl PartialEq for PayloadDigestEntry
impl PartialEq for PayloadDigestEntry
impl StructuralPartialEq for PayloadDigestEntry
Auto Trait Implementations§
impl Freeze for PayloadDigestEntry
impl RefUnwindSafe for PayloadDigestEntry
impl Send for PayloadDigestEntry
impl Sync for PayloadDigestEntry
impl Unpin for PayloadDigestEntry
impl UnsafeUnpin for PayloadDigestEntry
impl UnwindSafe for PayloadDigestEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.