Device Detection and IP Intelligence for the 51Degrees Pipeline, in Rust

Host Struct Reference

Detailed Description

What the download command depends on besides the file.

[Host::current] reads it from this process, and the tests give their own.

Public Attributes

windows : bool
 Whether this is Windows, where the PowerShell script is run.
windows has_pwsh: bool
 Whether PowerShell 7, pwsh, is on the PATH.
windows in_github_actions: bool
 Whether this runs in GitHub Actions, where no source is sent.

Member Data Documentation

◆ __pad0__

windows Host::__pad0__

Whether this is Windows, where the PowerShell script is run.

◆ has_pwsh

windows Host::has_pwsh

Whether PowerShell 7, pwsh, is on the PATH.

◆ in_github_actions

windows Host::in_github_actions

Whether this runs in GitHub Actions, where no source is sent.