pub struct ProgramNeeds {
pub program: String,
pub needs: Vec<DeclaredNeed>,
}Expand description
The needs one artifact declares for one program, in declaration order.
Fields§
§program: StringThe program key: a bare name, as capabilities.shell.allow spells it.
needs: Vec<DeclaredNeed>Trait Implementations§
Source§impl Clone for ProgramNeeds
impl Clone for ProgramNeeds
Source§impl Debug for ProgramNeeds
impl Debug for ProgramNeeds
impl Eq for ProgramNeeds
Source§impl PartialEq for ProgramNeeds
impl PartialEq for ProgramNeeds
impl StructuralPartialEq for ProgramNeeds
Auto Trait Implementations§
impl Forget for ProgramNeeds
impl Freeze for ProgramNeeds
impl Move for ProgramNeeds
impl RefUnwindSafe for ProgramNeeds
impl Send for ProgramNeeds
impl Sync for ProgramNeeds
impl Unpin for ProgramNeeds
impl UnsafeUnpin for ProgramNeeds
impl UnwindSafe for ProgramNeeds
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.