Struct launchd::mach_services::MachServiceOptions
source · pub struct MachServiceOptions { /* private fields */ }
Implementations§
source§impl MachServiceOptions
impl MachServiceOptions
pub fn new() -> Self
pub fn with_reset_at_close(self, value: bool) -> Self
pub fn reset_at_close(self) -> Self
pub fn with_hide_until_check_in(self, value: bool) -> Self
pub fn hide_until_check_in(self) -> Self
Trait Implementations§
source§impl Clone for MachServiceOptions
impl Clone for MachServiceOptions
source§fn clone(&self) -> MachServiceOptions
fn clone(&self) -> MachServiceOptions
Returns a copy 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 MachServiceOptions
impl Debug for MachServiceOptions
source§impl Default for MachServiceOptions
impl Default for MachServiceOptions
source§fn default() -> MachServiceOptions
fn default() -> MachServiceOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MachServiceOptions
impl<'de> Deserialize<'de> for MachServiceOptions
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 From<MachServiceOptions> for MachServiceEntry
impl From<MachServiceOptions> for MachServiceEntry
source§fn from(options: MachServiceOptions) -> Self
fn from(options: MachServiceOptions) -> Self
Converts to this type from the input type.
source§impl PartialEq<MachServiceOptions> for MachServiceOptions
impl PartialEq<MachServiceOptions> for MachServiceOptions
source§fn eq(&self, other: &MachServiceOptions) -> bool
fn eq(&self, other: &MachServiceOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MachServiceOptions
impl Serialize for MachServiceOptions
impl Eq for MachServiceOptions
impl StructuralEq for MachServiceOptions
impl StructuralPartialEq for MachServiceOptions
Auto Trait Implementations§
impl RefUnwindSafe for MachServiceOptions
impl Send for MachServiceOptions
impl Sync for MachServiceOptions
impl Unpin for MachServiceOptions
impl UnwindSafe for MachServiceOptions
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.