lemmy/lemmy_db/src/views/mod.rs

17 lines
355 B
Rust
Raw Normal View History

2020-12-15 15:28:25 +00:00
pub mod comment_view;
2020-12-06 04:37:16 +00:00
pub mod community_follower_view;
pub mod community_moderator_view;
pub mod community_user_ban_view;
2020-12-04 16:29:44 +00:00
pub mod community_view;
2020-12-10 20:53:49 +00:00
pub mod post_view;
2020-12-02 19:32:47 +00:00
pub mod site_view;
2020-12-16 16:09:21 +00:00
pub mod user_mention_view;
2020-12-03 03:39:31 +00:00
pub mod user_view;
2020-12-11 01:39:42 +00:00
pub(crate) trait ViewToVec {
type DbTuple;
fn to_vec(tuple: Vec<Self::DbTuple>) -> Vec<Self>
where
Self: Sized;
}