pub enum FriendsEvent {
FriendsList(Vec<Friend>),
PersonaStates(Vec<Persona>),
RecentlyPlayedGames(Vec<ProtocolGame>),
OwnedGames(Vec<ProtocolGame>),
PlayerAchievements {
appid: u32,
achievements: Vec<ProtocolAchievement>,
},
IncomingMessage(ChatMessage),
MessageSent(ChatMessage),
TypingNotification {
steamid: u64,
},
RecentMessages {
steamid: u64,
messages: Vec<ChatMessage>,
},
}Variants§
FriendsList(Vec<Friend>)
PersonaStates(Vec<Persona>)
RecentlyPlayedGames(Vec<ProtocolGame>)
OwnedGames(Vec<ProtocolGame>)
PlayerAchievements
IncomingMessage(ChatMessage)
A 1-on-1 friend message arrived (or a cross-session echo of our own send).
MessageSent(ChatMessage)
One of our own outgoing messages was confirmed by Steam, stamped with the authoritative
server_timestamp + ordinal (so the UI can append/dedupe it like any other message).
TypingNotification
A friend started typing in the 1-on-1 conversation.
RecentMessages
Result of a GetRecentMessages history fetch for one conversation (oldest first).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FriendsEvent
impl RefUnwindSafe for FriendsEvent
impl Send for FriendsEvent
impl Sync for FriendsEvent
impl Unpin for FriendsEvent
impl UnsafeUnpin for FriendsEvent
impl UnwindSafe for FriendsEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more