pub struct OpenDialogOptionsDTO {
pub Base: DialogOptionsDTO,
pub CanSelectMany: Option<bool>,
pub CanSelectFolders: Option<bool>,
pub CanSelectFiles: Option<bool>,
}Expand description
A serializable struct that holds all configuration options for an “Open”
file dialog. It flattens the shared DialogOptionsDTO and adds properties
specific to opening files or folders.
Fields§
§Base: DialogOptionsDTOThe base options common to all file dialogs.
CanSelectMany: Option<bool>If true, the user can select multiple files or folders.
CanSelectFolders: Option<bool>If true, the dialog allows the user to select folders instead of
files.
CanSelectFiles: Option<bool>If true, the dialog allows the user to select files.
Trait Implementations§
Source§impl Clone for OpenDialogOptionsDTO
impl Clone for OpenDialogOptionsDTO
Source§fn clone(&self) -> OpenDialogOptionsDTO
fn clone(&self) -> OpenDialogOptionsDTO
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 OpenDialogOptionsDTO
impl Debug for OpenDialogOptionsDTO
Source§impl Default for OpenDialogOptionsDTO
impl Default for OpenDialogOptionsDTO
Source§fn default() -> OpenDialogOptionsDTO
fn default() -> OpenDialogOptionsDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenDialogOptionsDTO
impl<'de> Deserialize<'de> for OpenDialogOptionsDTO
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 OpenDialogOptionsDTO
impl RefUnwindSafe for OpenDialogOptionsDTO
impl Send for OpenDialogOptionsDTO
impl Sync for OpenDialogOptionsDTO
impl Unpin for OpenDialogOptionsDTO
impl UnwindSafe for OpenDialogOptionsDTO
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