From ab21dbb90ab527e1a3aceeb85b0b0566a58aa31b Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Mon, 14 Aug 2023 17:18:44 +0200 Subject: [PATCH] Add Composite trait --- src/types/entities/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/types/entities/mod.rs b/src/types/entities/mod.rs index 6f1f58b..bc8273f 100644 --- a/src/types/entities/mod.rs +++ b/src/types/entities/mod.rs @@ -22,6 +22,8 @@ pub use user_settings::*; pub use voice_state::*; pub use webhook::*; +use crate::gateway::Updateable; + mod application; mod attachment; mod audit_log; @@ -45,3 +47,7 @@ mod user; mod user_settings; mod voice_state; mod webhook; + +pub(crate) trait Composite { + fn watch_whole(self) -> Self; +}