Struct debian_packaging::repository::release::FileManifestEntry
source · [−]pub struct FileManifestEntry<'a> {
pub checksum: ChecksumType,
pub root_path: Cow<'a, str>,
/* private fields */
}Expand description
A type of ReleaseFileEntry that describes a manifest of files with content digests.
This represents MD5SUMS and SHA256SUMS files which hold an additional list of files
and their content manifests.
Fields
checksum: ChecksumTypeThe digest format stored in this file.
root_path: Cow<'a, str>The root path for files in this manifest.
Methods from Deref<Target = ReleaseFileEntry<'a>>
sourcepub fn by_hash_path(&self) -> String
pub fn by_hash_path(&self) -> String
Obtain the by-hash path variant for this entry.
Trait Implementations
sourceimpl<'a> Clone for FileManifestEntry<'a>
impl<'a> Clone for FileManifestEntry<'a>
sourcefn clone(&self) -> FileManifestEntry<'a>
fn clone(&self) -> FileManifestEntry<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for FileManifestEntry<'a>
impl<'a> Debug for FileManifestEntry<'a>
sourceimpl<'a> Deref for FileManifestEntry<'a>
impl<'a> Deref for FileManifestEntry<'a>
type Target = ReleaseFileEntry<'a>
type Target = ReleaseFileEntry<'a>
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for FileManifestEntry<'a>
impl<'a> DerefMut for FileManifestEntry<'a>
sourceimpl<'a> From<FileManifestEntry<'a>> for ReleaseFileEntry<'a>
impl<'a> From<FileManifestEntry<'a>> for ReleaseFileEntry<'a>
sourcefn from(v: FileManifestEntry<'a>) -> Self
fn from(v: FileManifestEntry<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<FileManifestEntry<'a>> for FileManifestEntry<'a>
impl<'a> PartialEq<FileManifestEntry<'a>> for FileManifestEntry<'a>
sourcefn eq(&self, other: &FileManifestEntry<'a>) -> bool
fn eq(&self, other: &FileManifestEntry<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FileManifestEntry<'a>) -> bool
fn ne(&self, other: &FileManifestEntry<'a>) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<ReleaseFileEntry<'a>> for FileManifestEntry<'a>
impl<'a> TryFrom<ReleaseFileEntry<'a>> for FileManifestEntry<'a>
type Error = DebianError
type Error = DebianError
The type returned in the event of a conversion error.
sourcefn try_from(entry: ReleaseFileEntry<'a>) -> Result<Self, Self::Error>
fn try_from(entry: ReleaseFileEntry<'a>) -> Result<Self, Self::Error>
Performs the conversion.
impl<'a> StructuralPartialEq for FileManifestEntry<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FileManifestEntry<'a>
impl<'a> Send for FileManifestEntry<'a>
impl<'a> Sync for FileManifestEntry<'a>
impl<'a> Unpin for FileManifestEntry<'a>
impl<'a> UnwindSafe for FileManifestEntry<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more