aboutsummaryrefslogtreecommitdiff
path: root/src/model/gateway.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/gateway.rs')
-rw-r--r--src/model/gateway.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/gateway.rs b/src/model/gateway.rs
index 101f050..30ed695 100644
--- a/src/model/gateway.rs
+++ b/src/model/gateway.rs
@@ -3,6 +3,7 @@ use super::*;
use ::internal::prelude::*;
impl Game {
+ /// Creates a `Game` struct that appears as a `**Playing** <name>` status.
#[cfg(feature="methods")]
pub fn playing(name: &str) -> Game {
Game {
@@ -12,6 +13,7 @@ impl Game {
}
}
+ /// Creates a `Game` struct that appears as a `**Streaming** <name>` status.
#[cfg(feature="methods")]
pub fn streaming(name: &str, url: &str) -> Game {
Game {