pub struct DesktopApplication {
pub enabled: bool,
pub executable: Option<String>,
pub arguments: Option<Vec<String>>,
}Expand description
Optional desktop component. Missing default applications are skipped.
Fields§
§enabled: boolEnable this component when its executable is available.
executable: Option<String>Command or absolute path; omitted uses this component’s manifest default.
arguments: Option<Vec<String>>Arguments; omitted uses this component’s manifest default, while [] clears them.
Trait Implementations§
Source§impl Clone for DesktopApplication
impl Clone for DesktopApplication
Source§impl Debug for DesktopApplication
impl Debug for DesktopApplication
Source§impl Default for DesktopApplication
impl Default for DesktopApplication
Source§impl<'de> Deserialize<'de> for DesktopApplicationwhere
DesktopApplication: Default,
impl<'de> Deserialize<'de> for DesktopApplicationwhere
DesktopApplication: Default,
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 DesktopApplication
Source§impl PartialEq for DesktopApplication
impl PartialEq for DesktopApplication
Source§impl Serialize for DesktopApplication
impl Serialize for DesktopApplication
impl StructuralPartialEq for DesktopApplication
Auto Trait Implementations§
impl Freeze for DesktopApplication
impl RefUnwindSafe for DesktopApplication
impl Send for DesktopApplication
impl Sync for DesktopApplication
impl Unpin for DesktopApplication
impl UnsafeUnpin for DesktopApplication
impl UnwindSafe for DesktopApplication
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.