pub struct SocketEvent {
pub cid: Option<String>,
pub match_presence_event: Option<MatchPresenceEvent>,
pub match_data: Option<MatchData>,
pub new_match: Option<Match>,
pub matchmaker_matched: Option<MatchmakerMatched>,
}Fields§
§cid: Option<String>Request/response ID. Request CID will match response CID. If event was not a response cid will be None.
match_presence_event: Option<MatchPresenceEvent>§match_data: Option<MatchData>§new_match: Option<Match>§matchmaker_matched: Option<MatchmakerMatched>Trait Implementations§
Source§impl Clone for SocketEvent
impl Clone for SocketEvent
Source§fn clone(&self) -> SocketEvent
fn clone(&self) -> SocketEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DeJson for SocketEvent
impl DeJson for SocketEvent
Auto Trait Implementations§
impl Freeze for SocketEvent
impl RefUnwindSafe for SocketEvent
impl Send for SocketEvent
impl Sync for SocketEvent
impl Unpin for SocketEvent
impl UnwindSafe for SocketEvent
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