MCPcopy Create free account
hub / github.com/YougLin-dev/amp-server / PlatformInfo

Class PlatformInfo

api/src/user/internal.rs:142–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141#[derive(Debug, Serialize, Deserialize)]
142pub struct PlatformInfo {
143 pub os: String,
144 #[serde(rename = "osVersion")]
145 pub os_version: String,
146 #[serde(rename = "cpuArchitecture")]
147 pub cpu_architecture: String,
148 #[serde(rename = "webBrowser")]
149 pub web_browser: bool,
150 pub client: String,
151 #[serde(rename = "clientVersion")]
152 pub client_version: String,
153 #[serde(rename = "clientType")]
154 pub client_type: String,
155 pub config: ConfigInfo,
156}
157
158#[derive(Debug, Serialize, Deserialize)]
159pub struct ConfigInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected