pub struct Autostart {
pub cooldown_secs: u64,
pub last_turned_off_at: Option<u64>,
}Expand description
Autostart-related settings.
Fields§
§cooldown_secs: u64Cooldown period in seconds after powering lighthouses off. If SteamVR is launched
within this window, lighthouses won’t be turned on to avoid frequent toggling.
last_turned_off_at: Option<u64>Unix timestamp (seconds) of when the lighthouses were last turned off.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Autostart
impl<'de> Deserialize<'de> for Autostart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Autostart
impl RefUnwindSafe for Autostart
impl Send for Autostart
impl Sync for Autostart
impl Unpin for Autostart
impl UnsafeUnpin for Autostart
impl UnwindSafe for Autostart
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