pub struct DeclaredNeed {
pub form: NeedForm,
pub packages: BTreeMap<String, String>,
}Expand description
One entry of a program’s needs: list.
Fields§
§form: NeedForm§packages: BTreeMap<String, String>packages:, optional: an os-release ID to the package that provides the need on that
distribution. Empty when the entry declares none.
Trait Implementations§
Source§impl Clone for DeclaredNeed
impl Clone for DeclaredNeed
Source§impl Debug for DeclaredNeed
impl Debug for DeclaredNeed
impl Eq for DeclaredNeed
Source§impl PartialEq for DeclaredNeed
impl PartialEq for DeclaredNeed
impl StructuralPartialEq for DeclaredNeed
Auto Trait Implementations§
impl Forget for DeclaredNeed
impl Freeze for DeclaredNeed
impl Move for DeclaredNeed
impl RefUnwindSafe for DeclaredNeed
impl Send for DeclaredNeed
impl Sync for DeclaredNeed
impl Unpin for DeclaredNeed
impl UnsafeUnpin for DeclaredNeed
impl UnwindSafe for DeclaredNeed
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.