pub struct FileChooserRequest {
pub accept_types: Vec<String>,
pub allow_multiple: bool,
pub allow_directories: bool,
pub capture: bool,
pub source_page_url: Option<String>,
}Fields§
§accept_types: Vec<String>Accepted MIME types / extensions requested by the page.
allow_multiple: boolWhether multiple files may be selected.
allow_directories: boolWhether directories may be selected.
capture: boolWhether the page requested capture/live media.
source_page_url: Option<String>Source page URL that initiated the chooser when available.
Trait Implementations§
Source§impl Clone for FileChooserRequest
impl Clone for FileChooserRequest
Source§fn clone(&self) -> FileChooserRequest
fn clone(&self) -> FileChooserRequest
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 FileChooserRequest
impl Debug for FileChooserRequest
impl Eq for FileChooserRequest
Source§impl PartialEq for FileChooserRequest
impl PartialEq for FileChooserRequest
Source§fn eq(&self, other: &FileChooserRequest) -> bool
fn eq(&self, other: &FileChooserRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileChooserRequest
Auto Trait Implementations§
impl Freeze for FileChooserRequest
impl RefUnwindSafe for FileChooserRequest
impl Send for FileChooserRequest
impl Sync for FileChooserRequest
impl Unpin for FileChooserRequest
impl UnsafeUnpin for FileChooserRequest
impl UnwindSafe for FileChooserRequest
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