pub struct FilesAsked {
pub mode: FilesMode,
pub many: bool,
pub types: Vec<FileType>,
pub name: Option<String>,
pub folder: Option<String>,
}Expand description
The files or folder an ask has the person pick, in the system’s file picker.
Fields§
§mode: FilesMode§many: boolWhether more than one may be picked.
types: Vec<FileType>The types offered to pick among, each by its label and file name patterns.
name: Option<String>The name a file being saved is suggested under.
folder: Option<String>The folder the picker opens in.
Trait Implementations§
Source§impl Clone for FilesAsked
impl Clone for FilesAsked
Source§impl Debug for FilesAsked
impl Debug for FilesAsked
Source§impl<'de> Deserialize<'de> for FilesAsked
impl<'de> Deserialize<'de> for FilesAsked
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
impl Eq for FilesAsked
Source§impl PartialEq for FilesAsked
impl PartialEq for FilesAsked
Source§impl Serialize for FilesAsked
impl Serialize for FilesAsked
impl StructuralPartialEq for FilesAsked
Auto Trait Implementations§
impl Forget for FilesAsked
impl Freeze for FilesAsked
impl Move for FilesAsked
impl RefUnwindSafe for FilesAsked
impl Send for FilesAsked
impl Sync for FilesAsked
impl Unpin for FilesAsked
impl UnsafeUnpin for FilesAsked
impl UnwindSafe for FilesAsked
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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