Struct ashpd::desktop::background::BackgroundProxy[][src]

pub struct BackgroundProxy<'a>(_);
Expand description

The interface lets sandboxed applications request that the application is allowed to run in the background or started automatically when the user logs in.

Implementations

Create a new instance of BackgroundProxy.

Get a reference to the underlying Proxy.

Requests that the application is allowed to run in the background.

Arguments

  • identifier - Identifier for the application window.
  • reason - Sets a user-visible reason for the request.
  • auto_start - Sets whether to auto start the application or not.
  • dbus_activatable - Sets whether the application is dbus activatable.
  • command_line - Specifies the command line to execute. If this is not specified, the Exec line from the desktop file will be used.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.