Struct debian_packaging::debian_source_control::DebianSourceControlFileEntry [−][src]
pub struct DebianSourceControlFileEntry<'a> {
pub filename: &'a str,
pub digest: ContentDigest,
pub size: u64,
}Expand description
A single file as described by a Files or Checksums-* field in a DebianSourceControlFile.
Fields
filename: &'a strThe filename/path.
digest: ContentDigestThe content digest of this file.
size: u64The size in bytes of the file.
Implementations
Convert this instance to a DebianSourceControlFileFetch.
The path in the fetch is prefixed with the given directory value. It usually
comes from the Directory field of the control paragraph from which the entry was
derived.
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<'a> RefUnwindSafe for DebianSourceControlFileEntry<'a>
impl<'a> Send for DebianSourceControlFileEntry<'a>
impl<'a> Sync for DebianSourceControlFileEntry<'a>
impl<'a> Unpin for DebianSourceControlFileEntry<'a>
impl<'a> UnwindSafe for DebianSourceControlFileEntry<'a>
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
