1 use crate::sensitive::Sensitive;
2 use lemmy_db_schema::newtypes::{CommunityId, PostId};
3 use serde::{Deserialize, Serialize};
5 #[derive(Debug, Serialize, Deserialize, Clone)]
7 pub auth: Sensitive<String>,
10 #[derive(Debug, Serialize, Deserialize, Clone)]
11 pub struct UserJoinResponse {
15 #[derive(Debug, Serialize, Deserialize, Clone)]
16 pub struct CommunityJoin {
17 pub community_id: CommunityId,
20 #[derive(Debug, Serialize, Deserialize, Clone)]
21 pub struct CommunityJoinResponse {
25 #[derive(Debug, Serialize, Deserialize, Clone)]
27 pub community_id: CommunityId,
30 #[derive(Debug, Serialize, Deserialize, Clone)]
31 pub struct ModJoinResponse {
35 #[derive(Debug, Serialize, Deserialize, Clone)]
40 #[derive(Debug, Serialize, Deserialize, Clone)]
41 pub struct PostJoinResponse {