diff --git a/model/src/application/component/action_row.rs b/model/src/application/component/action_row.rs index 777a8338887..e99d359ffa9 100644 --- a/model/src/application/component/action_row.rs +++ b/model/src/application/component/action_row.rs @@ -5,7 +5,7 @@ use crate::application::component::Component; /// Refer to [Discord Docs/Message Components] for additional information. /// /// [Discord Docs/Message Components]: https://discord.com/developers/docs/interactions/message-components#action-rows -#[derive(Clone, Debug, Eq, Hash, PartialEq)] +#[derive(Clone, Debug, Default, Eq, Hash, PartialEq)] pub struct ActionRow { /// List of components in the action row. pub components: Vec, @@ -18,5 +18,14 @@ mod tests { use std::{fmt::Debug, hash::Hash}; assert_fields!(ActionRow: components); - assert_impl_all!(ActionRow: Clone, Debug, Eq, Hash, PartialEq, Send, Sync); + assert_impl_all!( + ActionRow: Clone, + Debug, + Default, + Eq, + Hash, + PartialEq, + Send, + Sync + ); }