Added documentation for Button

This commit is contained in:
DylanCa 2024-01-13 12:36:40 +01:00
parent da3afd5f83
commit c3c9abaff0

View file

@ -1,5 +1,6 @@
use serde::Serialize; use serde::Serialize;
/// Simple structure containing a label and an URL to form a Discord Activity button.
#[derive(Serialize, Debug)] #[derive(Serialize, Debug)]
pub struct Button { pub struct Button {
label: String, label: String,