Struct steam_shortcuts_util::shortcut::ShortcutOwned
source · [−]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 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
A list of tags for this shortcut
The tags: “Installed”, “Ready TO Play” are recommended
Implementations
sourceimpl ShortcutOwned
impl ShortcutOwned
Trait Implementations
sourceimpl Clone for ShortcutOwned
impl Clone for ShortcutOwned
sourcefn clone(&self) -> ShortcutOwned
fn clone(&self) -> ShortcutOwned
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 ShortcutOwned
impl Debug for ShortcutOwned
sourceimpl PartialEq<ShortcutOwned> for ShortcutOwned
impl PartialEq<ShortcutOwned> for ShortcutOwned
impl Eq for ShortcutOwned
Auto Trait Implementations
impl RefUnwindSafe for ShortcutOwned
impl Send for ShortcutOwned
impl Sync for ShortcutOwned
impl Unpin for ShortcutOwned
impl UnwindSafe for ShortcutOwned
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more