pub struct LinuxOptions {
pub application_id: Option<String>,
pub reason: Option<String>,
}Expand description
Options for Linux (ignored on Windows/macOS).
Fields§
§application_id: Option<String>D-Bus “application name” / app_id (often reverse-DNS). If None, a default is used.
reason: Option<String>Human readable reason. If None, the reason passed to acquire* is used.
Trait Implementations§
Source§impl Clone for LinuxOptions
impl Clone for LinuxOptions
Source§fn clone(&self) -> LinuxOptions
fn clone(&self) -> LinuxOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinuxOptions
impl Debug for LinuxOptions
Auto Trait Implementations§
impl Freeze for LinuxOptions
impl RefUnwindSafe for LinuxOptions
impl Send for LinuxOptions
impl Sync for LinuxOptions
impl Unpin for LinuxOptions
impl UnwindSafe for LinuxOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)