diff options
| author | Flaise <[email protected]> | 2019-08-02 16:06:04 -0500 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-08-03 09:08:03 +0100 |
| commit | f36084df856b0fc3933afe3a9f376c9ccc11a98c (patch) | |
| tree | 25994cdb5a83e7e120b7e10daf11dbc2f17a1888 /src/networking.rs | |
| parent | Fixed build script on Linux (diff) | |
| download | steamworks-rs-f36084df856b0fc3933afe3a9f376c9ccc11a98c.tar.xz steamworks-rs-f36084df856b0fc3933afe3a9f376c9ccc11a98c.zip | |
Implemented Serialize, Deserialize and other common traits where appropriate
Diffstat (limited to 'src/networking.rs')
| -rw-r--r-- | src/networking.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.rs b/src/networking.rs index 032b03e..995bea7 100644 --- a/src/networking.rs +++ b/src/networking.rs @@ -7,7 +7,7 @@ pub struct Networking<Manager> { } /// The method used to send a packet -#[derive(Debug)] +#[derive(Clone, Debug, Serialize, Deserialize)] pub enum SendType { /// Send the packet directly over udp. /// @@ -89,7 +89,7 @@ impl <Manager> Networking<Manager> { } /// Called when a user wants to communicate via p2p -#[derive(Debug)] +#[derive(Clone, Debug, Serialize, Deserialize)] pub struct P2PSessionRequest { /// The steam ID of the user requesting a p2p /// session |