pub struct FileFilter {
pub name: Option<String>,
pub accepts: Option<Vec<String>>,
}Expand description
The manifest of a webapp, see https://www.w3.org/TR/appmanifest/#dfn-manifest. Some fields do not appear in the standard since the API is designed to expose more browser internal states. FileFilter
Fields§
§name: Option<String>§accepts: Option<Vec<String>>Implementations§
Source§impl FileFilter
impl FileFilter
pub fn builder() -> FileFilterBuilder
Source§impl FileFilter
impl FileFilter
pub const IDENTIFIER: &'static str = "Page.FileFilter"
Trait Implementations§
Source§impl Clone for FileFilter
impl Clone for FileFilter
Source§fn clone(&self) -> FileFilter
fn clone(&self) -> FileFilter
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 FileFilter
impl Debug for FileFilter
Source§impl Default for FileFilter
impl Default for FileFilter
Source§fn default() -> FileFilter
fn default() -> FileFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileFilter
impl<'de> Deserialize<'de> for FileFilter
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FileFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FileFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileFilter
impl PartialEq for FileFilter
Source§impl Serialize for FileFilter
impl Serialize for FileFilter
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FileFilter
Auto Trait Implementations§
impl Freeze for FileFilter
impl RefUnwindSafe for FileFilter
impl Send for FileFilter
impl Sync for FileFilter
impl Unpin for FileFilter
impl UnwindSafe for FileFilter
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