pub struct ShortcutOwned {
Show 17 fields pub order: String, pub app_id: u32, pub app_name: String, pub exe: String, pub start_dir: String, pub icon: String, pub shortcut_path: String, pub launch_options: String, pub is_hidden: bool, pub allow_desktop_config: bool, pub allow_overlay: bool, pub open_vr: u32, pub dev_kit: u32, pub dev_kit_game_id: String, pub dev_kit_overrite_app_id: u32, pub last_play_time: u32, pub tags: Vec<String>,
}
Expand description

Struct with data for a steam shortcut.vdf file. This struct owns the data it is referecing.

Fields

order: String

Order/Index of the shortcut

app_id: u32

The id for this shortcut.

This id can be generated for a shortcut (in a way that steam will accept) with calculate_app_id

app_name: String

The app name for this shortcut.

exe: String

the target location

start_dir: String

The directory to launch the shortcut in (also known as working directory).

icon: String

Path to the icon of the shortcut

shortcut_path: String

The path to the shortcut.

launch_options: String

Options to pass to the exe in the target location

is_hidden: bool

Is this shortcut hidden?

allow_desktop_config: bool

Is dekstop configuration allowed

allow_overlay: bool

Are steam overlays allowed

open_vr: u32

Open vr id

dev_kit: u32

Devkit id

dev_kit_game_id: String

Devkit game id

dev_kit_overrite_app_id: u32

Devkit overrite_app_id

last_play_time: u32

The last time played in u32 seconds

tags: Vec<String>

A list of tags for this shortcut

The tags: “Installed”, “Ready TO Play” are recommended

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.