pub struct DebianSourceControlFilePackage<'a> {
pub name: &'a str,
pub package_type: &'a str,
pub section: &'a str,
pub priority: &'a str,
pub extra: Vec<&'a str>,
}Expand description
Describes a single binary package entry in a Package-List field in a DebianSourceControlFile.
Fields§
§name: &'a strThe name of the binary package.
package_type: &'a strThe package type.
section: &'a strThe section it appears in.
priority: &'a strThe package priority.
extra: Vec<&'a str>Extra fields.
Trait Implementations§
Source§impl<'a> Clone for DebianSourceControlFilePackage<'a>
impl<'a> Clone for DebianSourceControlFilePackage<'a>
Source§fn clone(&self) -> DebianSourceControlFilePackage<'a>
fn clone(&self) -> DebianSourceControlFilePackage<'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 DebianSourceControlFilePackage<'a>
impl<'a> Debug for DebianSourceControlFilePackage<'a>
Source§impl<'a> PartialEq for DebianSourceControlFilePackage<'a>
impl<'a> PartialEq for DebianSourceControlFilePackage<'a>
Source§fn eq(&self, other: &DebianSourceControlFilePackage<'a>) -> bool
fn eq(&self, other: &DebianSourceControlFilePackage<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Eq for DebianSourceControlFilePackage<'a>
impl<'a> StructuralPartialEq for DebianSourceControlFilePackage<'a>
Auto Trait Implementations§
impl<'a> Freeze for DebianSourceControlFilePackage<'a>
impl<'a> RefUnwindSafe for DebianSourceControlFilePackage<'a>
impl<'a> Send for DebianSourceControlFilePackage<'a>
impl<'a> Sync for DebianSourceControlFilePackage<'a>
impl<'a> Unpin for DebianSourceControlFilePackage<'a>
impl<'a> UnwindSafe for DebianSourceControlFilePackage<'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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.