pub struct FileAction {
pub id: String,
pub label: BTreeMap<String, String>,
pub description: Option<String>,
pub mime_types: Vec<String>,
}Fields§
§id: String§label: BTreeMap<String, String>§description: Option<String>§mime_types: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for FileAction
impl Clone for FileAction
Source§fn clone(&self) -> FileAction
fn clone(&self) -> FileAction
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 FileAction
impl Debug for FileAction
Source§impl Default for FileAction
impl Default for FileAction
Source§fn default() -> FileAction
fn default() -> FileAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileAction
impl<'de> Deserialize<'de> for FileAction
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
Source§impl PartialEq for FileAction
impl PartialEq for FileAction
Source§fn eq(&self, other: &FileAction) -> bool
fn eq(&self, other: &FileAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileAction
impl Serialize for FileAction
impl StructuralPartialEq for FileAction
Auto Trait Implementations§
impl Freeze for FileAction
impl RefUnwindSafe for FileAction
impl Send for FileAction
impl Sync for FileAction
impl Unpin for FileAction
impl UnsafeUnpin for FileAction
impl UnwindSafe for FileAction
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