Struct debian_packaging::repository::release::SourcesFileEntry
source · [−]pub struct SourcesFileEntry<'a> {
pub component: Cow<'a, str>,
pub compression: Compression,
/* private fields */
}Expand description
A type of ReleaseFileEntry that describes a Sources file.
Fields
component: Cow<'a, str>The component the sources belong to.
compression: CompressionThe compression format of the sources index.
Methods from Deref<Target = ReleaseFileEntry<'a>>
Obtain the by-hash path variant for this entry.
Trait Implementations
type Target = ReleaseFileEntry<'a>
type Target = ReleaseFileEntry<'a>
The resulting type after dereferencing.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
type Error = DebianError
type Error = DebianError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourcesFileEntry<'a>
impl<'a> Send for SourcesFileEntry<'a>
impl<'a> Sync for SourcesFileEntry<'a>
impl<'a> Unpin for SourcesFileEntry<'a>
impl<'a> UnwindSafe for SourcesFileEntry<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
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