pub struct QuickPickOptionsDTO {
pub Title: Option<String>,
pub PlaceHolder: Option<String>,
pub CanPickMany: Option<bool>,
pub IgnoreFocusOut: Option<bool>,
}Expand description
A serializable struct that holds all configuration options for a quick pick UI.
Fields§
§Title: Option<String>An optional title for the quick pick window.
PlaceHolder: Option<String>Placeholder text to show in the filter input box when it is empty.
CanPickMany: Option<bool>If true, the user can select more than one item.
IgnoreFocusOut: Option<bool>If true, the quick pick will not close when it loses focus.
Trait Implementations§
Source§impl Clone for QuickPickOptionsDTO
impl Clone for QuickPickOptionsDTO
Source§fn clone(&self) -> QuickPickOptionsDTO
fn clone(&self) -> QuickPickOptionsDTO
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuickPickOptionsDTO
impl Debug for QuickPickOptionsDTO
Source§impl Default for QuickPickOptionsDTO
impl Default for QuickPickOptionsDTO
Source§fn default() -> QuickPickOptionsDTO
fn default() -> QuickPickOptionsDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QuickPickOptionsDTO
impl<'de> Deserialize<'de> for QuickPickOptionsDTO
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 QuickPickOptionsDTO
impl RefUnwindSafe for QuickPickOptionsDTO
impl Send for QuickPickOptionsDTO
impl Sync for QuickPickOptionsDTO
impl Unpin for QuickPickOptionsDTO
impl UnsafeUnpin for QuickPickOptionsDTO
impl UnwindSafe for QuickPickOptionsDTO
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,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more