pub struct RepositoryPlan {
pub name: RepositoryName,
pub kind: RepositoryKind,
pub url: HttpsUrl,
pub key: RepositoryKey,
pub suite: Option<AptWord>,
pub components: Vec<AptWord>,
pub priority: Option<i32>,
}Expand description
A repository, its suite and components resolved (apt’s) and its key pinned.
Fields§
§name: RepositoryNameIts name: it names the source and key files.
kind: RepositoryKindThe package manager it is added to.
url: HttpsUrlIts address.
key: RepositoryKeyIts signing key, pinned by SHA-256.
suite: Option<AptWord>The suite (apt: the step’s, else the OS’s codename).
components: Vec<AptWord>The components (apt: the step’s, else main; empty for the others).
priority: Option<i32>Its priority over the OS’s own packages.
Trait Implementations§
Source§impl Clone for RepositoryPlan
impl Clone for RepositoryPlan
Source§impl Debug for RepositoryPlan
impl Debug for RepositoryPlan
impl Eq for RepositoryPlan
Source§impl PartialEq for RepositoryPlan
impl PartialEq for RepositoryPlan
impl StructuralPartialEq for RepositoryPlan
Auto Trait Implementations§
impl Freeze for RepositoryPlan
impl RefUnwindSafe for RepositoryPlan
impl Send for RepositoryPlan
impl Sync for RepositoryPlan
impl Unpin for RepositoryPlan
impl UnsafeUnpin for RepositoryPlan
impl UnwindSafe for RepositoryPlan
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§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.