pub fn msg_id(&'t self) -> Option<NoticeType<'t>> {
        let kind = self.tags.get_ref("msg-id")?;
        match kind.as_ref() {
            "sub" => NoticeType::Sub,
            "resub" => NoticeType::Resub,
            "subgift" => NoticeType::SubGift,
            "anonsubgift" => NoticeType::AnonSubGift,
            "submysterygift" => NoticeType::SubMysteryGift,
            "giftpaidupgrade" => NoticeType::GiftPaidUpgrade,
            "rewardgift" => NoticeType::RewardGift,
            "anongiftpaidupgrade" => NoticeType::AnonGiftPaidUpgrade,
            "raid" => NoticeType::Raid,
            "unraid" => NoticeType::Unraid,
            "ritual" => NoticeType::Ritual,
            "bitsbadgetier" => NoticeType::BitsBadgeTier,
            _ => NoticeType::Unknown(kind.reborrow()),
        }
        .into()
    }
/// The kind of notice this message is
The kind of notice this message is
The kind of notice this message is
pub fn msg_id(&'t self) -> Option<NoticeType<'t>> {
        let kind = self.tags.get_ref("msg-id")?;
        match kind.as_ref() {
            "sub" => NoticeType::Sub,
            "resub" => NoticeType::Resub,
            "subgift" => NoticeType::SubGift,
            "anonsubgift" => NoticeType::AnonSubGift,
            "submysterygift" => NoticeType::SubMysteryGift,
            "giftpaidupgrade" => NoticeType::GiftPaidUpgrade,
            "rewardgift" => NoticeType::RewardGift,
            "anongiftpaidupgrade" => NoticeType::AnonGiftPaidUpgrade,
            "raid" => NoticeType::Raid,
            "unraid" => NoticeType::Unraid,
            "ritual" => NoticeType::Ritual,
            "bitsbadgetier" => NoticeType::BitsBadgeTier,
            _ => NoticeType::Unknown(kind.reborrow()),
        }
        .into()
    }
pub fn msg_id ( & ' t self ) -> Option < NoticeType < ' t > > { let kind = self . tags . get_ref ( " " ) ? ; match kind . as_ref ( ) { " " => NoticeType :: Sub , " " => NoticeType :: Resub , " " => NoticeType :: SubGift , " " => NoticeType :: AnonSubGift , " " => NoticeType :: SubMysteryGift , " " => NoticeType :: GiftPaidUpgrade , " " => NoticeType :: RewardGift , " " => NoticeType :: AnonGiftPaidUpgrade , " " => NoticeType :: Raid , " " => NoticeType :: Unraid , " " => NoticeType :: Ritual , " " => NoticeType :: BitsBadgeTier , _ => NoticeType :: Unknown ( kind . reborrow ( ) ) , } . into ( ) }
The kind of notice this message is
The kind of notice this message is
&'t self
&'t self