pub struct BrowserFileAsk {
pub id: u64,
pub tab: u16,
pub multiple: bool,
}Expand description
A page’s file chooser, as the client’s picker reads it.
Fields§
§id: u64The dialog’s id; the answer comes back under it.
tab: u16The tab the dialog was raised on. A viewer is asked only for its own tab, and an answer from another tab is refused.
multiple: boolWhether the page accepts more than one file.
Trait Implementations§
Source§impl Clone for BrowserFileAsk
impl Clone for BrowserFileAsk
impl Copy for BrowserFileAsk
Source§impl Debug for BrowserFileAsk
impl Debug for BrowserFileAsk
Source§impl<'de> Deserialize<'de> for BrowserFileAsk
impl<'de> Deserialize<'de> for BrowserFileAsk
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 BrowserFileAsk
Source§impl PartialEq for BrowserFileAsk
impl PartialEq for BrowserFileAsk
Source§impl Serialize for BrowserFileAsk
impl Serialize for BrowserFileAsk
impl StructuralPartialEq for BrowserFileAsk
Auto Trait Implementations§
impl Freeze for BrowserFileAsk
impl RefUnwindSafe for BrowserFileAsk
impl Send for BrowserFileAsk
impl Sync for BrowserFileAsk
impl Unpin for BrowserFileAsk
impl UnsafeUnpin for BrowserFileAsk
impl UnwindSafe for BrowserFileAsk
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.