diff options
| author | Flaise <[email protected]> | 2019-08-11 17:03:24 -0500 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-08-14 15:47:12 +0100 |
| commit | f8818e261699eb58b71ab8b9dcc9672a9bd5054e (patch) | |
| tree | 85d4ede2726f64fd44f407994f0fbac3073dc0c5 /src/networking.rs | |
| parent | Implemented P2PSessionConnectFail callback and removed a result handler's Syn... (diff) | |
| download | steamworks-rs-f8818e261699eb58b71ab8b9dcc9672a9bd5054e.tar.xz steamworks-rs-f8818e261699eb58b71ab8b9dcc9672a9bd5054e.zip | |
Added more bindings to SteamGameServer API
Diffstat (limited to 'src/networking.rs')
| -rw-r--r-- | src/networking.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/networking.rs b/src/networking.rs index ac2230c..82fe1e7 100644 --- a/src/networking.rs +++ b/src/networking.rs @@ -110,7 +110,8 @@ unsafe impl Callback for P2PSessionRequest { } } -#[derive(Clone, Debug, Serialize, Deserialize)] +#[derive(Clone, Debug)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct P2PSessionConnectFail { pub remote: SteamId, pub error: u8, |