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