Struct discord_rpc_client::SetActivitySecrets
[−]
[src]
pub struct SetActivitySecrets { pub game: Option<String>, // some fields omitted }
Fields
game: Option<String>
Methods
impl SetActivitySecrets
[src]
pub fn new() -> Self
[src]
pub fn game<S>(self, value: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn spectate<S>(self, value: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn join<S>(self, value: S) -> Self where
S: Into<String>,
[src]
S: Into<String>,
Trait Implementations
impl Debug for SetActivitySecrets
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for SetActivitySecrets
[src]
fn default() -> SetActivitySecrets
[src]
Returns the "default value" for a type. Read more