libduvet/model/client_platform

Types

What a client runs on, which it tells the gateway when it identifies: a user’s ClientStatus says on which of them they’re connected.

pub type ClientPlatform {
  ClientPlatform(String)
}

Constructors

  • ClientPlatform(String)

Values

pub const desktop: ClientPlatform
pub const mobile: ClientPlatform
pub fn name(platform: ClientPlatform) -> String

The platform’s name, as the API writes it.

✨ Search Document