pub struct ProtocolGame {
pub appid: u32,
pub name: String,
pub playtime_forever: i32,
pub rtime_last_played: u32,
pub img_icon_url: Option<String>,
pub app_type: Option<String>,
pub installdir: Option<String>,
pub launch: Vec<LaunchEntry>,
}Fields§
§appid: u32§name: String§playtime_forever: i32§rtime_last_played: u32§img_icon_url: Option<String>§app_type: Option<String>Steam appinfo common.type (lowercased): “game”, “application”, “tool”, … None when
the appinfo could not be resolved. Used by the TUI to filter the library by type.
installdir: Option<String>Appinfo config.installdir — the game’s folder name under steamapps/common/. None
when unresolved or for the recently-played / Web-API fallback paths.
launch: Vec<LaunchEntry>Appinfo config/launch entries (how Steam would launch it). Empty when unresolved.
Trait Implementations§
Source§impl Clone for ProtocolGame
impl Clone for ProtocolGame
Source§fn clone(&self) -> ProtocolGame
fn clone(&self) -> ProtocolGame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProtocolGame
impl RefUnwindSafe for ProtocolGame
impl Send for ProtocolGame
impl Sync for ProtocolGame
impl Unpin for ProtocolGame
impl UnsafeUnpin for ProtocolGame
impl UnwindSafe for ProtocolGame
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