pub struct Item {
pub label: String,
pub note: String,
pub preview: String,
pub target: Target,
}Expand description
One candidate.
Fields§
§label: StringWhat is matched against and rendered in the list.
note: StringThe second, dimmer column: a workflow’s type, a command’s group. Not matched against, so that typing a status does not pull in every row that merely ends in it.
preview: StringThe body of the preview pane. Empty means the picker has no preview to show, which is the honest thing for a list of command ids.
target: TargetImplementations§
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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