neos 0.4.0

NeosVR's API in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone, PartialEq, Eq, Hash, serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
/// Short description of a session's user.
pub struct SessionUser {
	/// The username of the user
	pub username: String,
	#[serde(rename = "userID")]
	/// Almost always exists, but rarely inexplicably missing
	pub id: Option<crate::id::User>,
	/// If the user is focused on this session
	pub is_present: bool,
	/// The output device type of the user
	pub output_device: crate::OutputDevice,
}