pub fn associate_option<'a>(
    obj: &'a mut CreateApplicationCommandOption,
    option: &'a str,
) -> &'a mut CreateApplicationCommandOption {
    match option {
        _ if option == SUBCOMMAND_GROUP[0] => obj
            .name(option)
            .kind(ApplicationCommandOptionType::SubCommandGroup)
            .description("associate channel to project and/or small group."),
        _ if option == SUBCOMMAND_GROUP[1] => obj
            .name(option)
            .kind(ApplicationCommandOptionType::SubCommandGroup)
            .description("associate role to project and/or small group."),
        _ if option == SUBCOMMAND_GROUP[2] => obj
            .name(option)
            .kind(ApplicationCommandOptionType::SubCommandGroup)
            .description("associate category to project and/or small group."),
        _ => obj,
    }
}
// Build the option for the /associate command.
Build the option for the /associate command.
Build the option for the / associate command .
pub fn associate_option<'a>(
    obj: &'a mut CreateApplicationCommandOption,
    option: &'a str,
) -> &'a mut CreateApplicationCommandOption {
    match option {
        _ if option == SUBCOMMAND_GROUP[0] => obj
            .name(option)
            .kind(ApplicationCommandOptionType::SubCommandGroup)
            .description("associate channel to project and/or small group."),
        _ if option == SUBCOMMAND_GROUP[1] => obj
            .name(option)
            .kind(ApplicationCommandOptionType::SubCommandGroup)
            .description("associate role to project and/or small group."),
        _ if option == SUBCOMMAND_GROUP[2] => obj
            .name(option)
            .kind(ApplicationCommandOptionType::SubCommandGroup)
            .description("associate category to project and/or small group."),
        _ => obj,
    }
}
pub fn associate_option < ' a > ( obj : & ' a mut CreateApplicationCommandOption , option : & ' a str , ) -> & ' a mut CreateApplicationCommandOption { match option { _ if option == SUBCOMMAND_GROUP [ 0 ] => obj . name ( option ) . kind ( ApplicationCommandOptionType :: SubCommandGroup ) . description ( " " ) , _ if option == SUBCOMMAND_GROUP [ 1 ] => obj . name ( option ) . kind ( ApplicationCommandOptionType :: SubCommandGroup ) . description ( " " ) , _ if option == SUBCOMMAND_GROUP [ 2 ] => obj . name ( option ) . kind ( ApplicationCommandOptionType :: SubCommandGroup ) . description ( " " ) , _ => obj , } }
Build the option for the /associate command.
Build the option for the / associate command .
obj
&'a mut CreateApplicationCommandOption
option
&'a str
obj
&'a mut CreateApplicationCommandOption
option
&'a str