pub struct AutostartStatus {
pub supported: bool,
pub enabled: bool,
pub entry: Option<String>,
pub login_item: Option<LoginItemStatus>,
}Fields§
§supported: bool§enabled: bool§entry: Option<String>Plist / desktop-entry path (None on Windows where the entry is a registry value).
login_item: Option<LoginItemStatus>macOS SMAppService state when that backend is in use (None for every other backend). When it
is requiresApproval, enabled is false and the app should offer
crate::login_item::open_login_items_settings.
Trait Implementations§
Source§impl Clone for AutostartStatus
impl Clone for AutostartStatus
Source§impl Debug for AutostartStatus
impl Debug for AutostartStatus
Source§impl<'de> Deserialize<'de> for AutostartStatus
impl<'de> Deserialize<'de> for AutostartStatus
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 AutostartStatus
Source§impl PartialEq for AutostartStatus
impl PartialEq for AutostartStatus
Source§impl Serialize for AutostartStatus
impl Serialize for AutostartStatus
impl StructuralPartialEq for AutostartStatus
Auto Trait Implementations§
impl Freeze for AutostartStatus
impl RefUnwindSafe for AutostartStatus
impl Send for AutostartStatus
impl Sync for AutostartStatus
impl Unpin for AutostartStatus
impl UnsafeUnpin for AutostartStatus
impl UnwindSafe for AutostartStatus
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,
Source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
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§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.