Struct distant_core::data::SystemInfo [−][src]
pub struct SystemInfo {
pub family: String,
pub os: String,
pub arch: String,
pub current_dir: PathBuf,
pub main_separator: char,
}Expand description
Represents information about a system
Fields
family: StringFamily of the operating system as described in https://doc.rust-lang.org/std/env/consts/constant.FAMILY.html
os: StringName of the specific operating system as described in https://doc.rust-lang.org/std/env/consts/constant.OS.html
arch: StringArchitecture of the CPI as described in https://doc.rust-lang.org/std/env/consts/constant.ARCH.html
current_dir: PathBufCurrent working directory of the running server process
main_separator: charPrimary separator for path components for the current platform as defined in https://doc.rust-lang.org/std/path/constant.MAIN_SEPARATOR.html
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
Blanket Implementations
Mutably borrows from an owned value. Read more