pub struct Selection {
pub id: &'static str,
pub status: Status,
pub reason: Option<String>,
pub action: Option<String>,
pub sources: Vec<String>,
pub driver: Option<String>,
}Expand description
One capability’s answer for one target.
Fields§
§id: &'static strThe capability id.
status: StatusIts status.
reason: Option<String>Why, for every status but selected.
action: Option<String>The one edit the operator makes, for a withheld capability.
sources: Vec<String>The embedded sources it lands, relative to snippets/, empty for
a capability the blocks land or one that lands nothing.
driver: Option<String>The release driver the selection is keyed on, where the capability has that dimension; the registry pins are keyed on it too.
Implementations§
Trait Implementations§
impl Eq for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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.