Add Composite trait

This commit is contained in:
bitfl0wer 2023-08-14 17:18:44 +02:00
parent 6dd9f84573
commit 2329cc2243
1 changed files with 6 additions and 0 deletions

View File

@ -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<T: Updateable> {
fn watch_whole(self) -> Self;
}