pub fn encode_as_str(self) -> &'static str {
        match self {
            Self::Membership => "CAP REQ :twitch.tv/membership",
            Self::Tags => "CAP REQ :twitch.tv/tags",
            Self::Commands => "CAP REQ :twitch.tv/commands",
            Self::ChatRooms => "CAP REQ :twitch.tv/tags twitch.tv/commands",
        }
    }
/// Encode this capability as a string, to be sent to the server
Encode this capability as a string, to be sent to the server
Encode this capability as a string to be sent to the server
pub fn encode_as_str(self) -> &'static str {
        match self {
            Self::Membership => "CAP REQ :twitch.tv/membership",
            Self::Tags => "CAP REQ :twitch.tv/tags",
            Self::Commands => "CAP REQ :twitch.tv/commands",
            Self::ChatRooms => "CAP REQ :twitch.tv/tags twitch.tv/commands",
        }
    }
pub fn encode_as_str ( self ) -> & ' static str { match self { Self :: Membership => " " , Self :: Tags => " " , Self :: Commands => " " , Self :: ChatRooms => " " , } }
Encode this capability as a string, to be sent to the server
Encode this capability as a string to be sent to the server
self
self