pub struct QuickPickItemDTO {
pub Label: String,
pub Description: Option<String>,
pub Detail: Option<String>,
pub Picked: Option<bool>,
pub AlwaysShow: Option<bool>,
}Expand description
A serializable struct that represents a single selectable item within a quick pick UI.
Fields§
§Label: StringThe primary text label for the item.
Description: Option<String>An optional description shown in a separate column to the right of the label.
Detail: Option<String>An optional detail text shown underneath the label.
Picked: Option<bool>If true, this item will be initially selected.
AlwaysShow: Option<bool>If true, this item will always be shown at the top of the list, even
when filtering.
Trait Implementations§
Source§impl Clone for QuickPickItemDTO
impl Clone for QuickPickItemDTO
Source§fn clone(&self) -> QuickPickItemDTO
fn clone(&self) -> QuickPickItemDTO
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuickPickItemDTO
impl Debug for QuickPickItemDTO
Source§impl Default for QuickPickItemDTO
impl Default for QuickPickItemDTO
Source§fn default() -> QuickPickItemDTO
fn default() -> QuickPickItemDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QuickPickItemDTO
impl<'de> Deserialize<'de> for QuickPickItemDTO
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QuickPickItemDTO
impl RefUnwindSafe for QuickPickItemDTO
impl Send for QuickPickItemDTO
impl Sync for QuickPickItemDTO
impl Unpin for QuickPickItemDTO
impl UnwindSafe for QuickPickItemDTO
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