pub struct UserInfo<'a> {
pub account_name: Option<&'a str>,
pub join_time: u64,
pub role: UserRole,
pub subgroup: u8,
pub ready_status: bool,
}Fields§
§account_name: Option<&'a str>Account name, without leading ‘:’.
join_time: u64Unix timestamp when the user joined the squad (or 0 if time could not be determined)
role: UserRoleRole in squad, or UserRole::None if the user was removed from the
squad
subgroup: u8Subgroup the user is in (0 when no subgroup could be found, which is either the first subgroup or no subgroup)
ready_status: boolWhether this player is ready or not (in a squad ready check).
§Remarks
role == UserRole::SquadLeader and ready_status == true implies
that a ready check was just started. Similarly, role == UserRole::SquadLeader and ready_status == false implies that
a ready check either finished or was cancelled. If everyone in the
squad had an event sent with ready_status == true then that means
that the ready check finished successfully (after which there will
be events sent for each user where their ready_status == false)