Struct apple_bundle::info_plist::app_execution::Termination
source · [−]pub struct Termination {
pub get_app_died_events: Option<bool>,
pub supports_sudden_termination: Option<bool>,
pub application_exits_on_suspend: Option<bool>,
}
Expand description
Termination
Fields
get_app_died_events: Option<bool>
A Boolean value indicating whether the app is notified when a child process dies.
Availability
- macOS 10.0+
Framework
- Core Foundation
supports_sudden_termination: Option<bool>
A Boolean value indicating whether the system may terminate the app to log out or shut down more quickly.
Availability
- macOS 10.0+
Framework
- AppKit
application_exits_on_suspend: Option<bool>
The system now automatically suspends apps leaving the foreground when they don’t require background execution. For more information, see About the Background Execution Sequence.
Deprecated: A Boolean value indicating whether the app terminates, rather than moves to the background, when the app quits.
Availability
- iOS 4.0–13.0
- tvOS 9.0–13.0
- watchOS 2.0–6.0
Framework
- UIKit
Trait Implementations
sourceimpl Clone for Termination
impl Clone for Termination
sourcefn clone(&self) -> Termination
fn clone(&self) -> Termination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Termination
impl Debug for Termination
sourceimpl Default for Termination
impl Default for Termination
sourcefn default() -> Termination
fn default() -> Termination
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Termination
impl<'de> Deserialize<'de> for Termination
sourcefn 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
sourceimpl PartialEq<Termination> for Termination
impl PartialEq<Termination> for Termination
sourcefn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Termination) -> bool
fn ne(&self, other: &Termination) -> bool
This method tests for !=
.
sourceimpl Serialize for Termination
impl Serialize for Termination
impl Eq for Termination
impl StructuralEq for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnwindSafe for Termination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.