pub struct AppStreamComponentsEntry<'a> {
pub component: Cow<'a, str>,
pub architecture: Cow<'a, str>,
pub compression: Compression,
/* private fields */
}Expand description
A type of ReleaseFileEntry that describes an AppStream Components YAML file.
Files typically exist in paths named <component>/dep11/Components-<architecture><compression>.
Fields§
§component: Cow<'a, str>The repository component name.
architecture: Cow<'a, str>The architecture name.
compression: CompressionFile-level compression format.
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§
Source§impl<'a> Clone for AppStreamComponentsEntry<'a>
impl<'a> Clone for AppStreamComponentsEntry<'a>
Source§fn clone(&self) -> AppStreamComponentsEntry<'a>
fn clone(&self) -> AppStreamComponentsEntry<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AppStreamComponentsEntry<'a>
impl<'a> Debug for AppStreamComponentsEntry<'a>
Source§impl<'a> Deref for AppStreamComponentsEntry<'a>
impl<'a> Deref for AppStreamComponentsEntry<'a>
Source§impl<'a> DerefMut for AppStreamComponentsEntry<'a>
impl<'a> DerefMut for AppStreamComponentsEntry<'a>
Source§impl<'a> From<AppStreamComponentsEntry<'a>> for ReleaseFileEntry<'a>
impl<'a> From<AppStreamComponentsEntry<'a>> for ReleaseFileEntry<'a>
Source§fn from(v: AppStreamComponentsEntry<'a>) -> Self
fn from(v: AppStreamComponentsEntry<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for AppStreamComponentsEntry<'a>
impl<'a> PartialEq for AppStreamComponentsEntry<'a>
Source§fn eq(&self, other: &AppStreamComponentsEntry<'a>) -> bool
fn eq(&self, other: &AppStreamComponentsEntry<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> TryFrom<ReleaseFileEntry<'a>> for AppStreamComponentsEntry<'a>
impl<'a> TryFrom<ReleaseFileEntry<'a>> for AppStreamComponentsEntry<'a>
Source§type Error = DebianError
type Error = DebianError
The type returned in the event of a conversion error.
impl<'a> StructuralPartialEq for AppStreamComponentsEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for AppStreamComponentsEntry<'a>
impl<'a> RefUnwindSafe for AppStreamComponentsEntry<'a>
impl<'a> Send for AppStreamComponentsEntry<'a>
impl<'a> Sync for AppStreamComponentsEntry<'a>
impl<'a> Unpin for AppStreamComponentsEntry<'a>
impl<'a> UnwindSafe for AppStreamComponentsEntry<'a>
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