restructure
This commit is contained in:
20
crates/domain/src/models/federation.rs
Normal file
20
crates/domain/src/models/federation.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct RemoteActorInfo {
|
||||
pub url: String,
|
||||
pub handle: String,
|
||||
pub display_name: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct PendingFollowerInfo {
|
||||
pub url: String,
|
||||
pub handle: String,
|
||||
pub display_name: Option<String>,
|
||||
pub avatar_url: Option<String>,
|
||||
}
|
||||
|
||||
pub struct FederationFlags {
|
||||
pub goals: bool,
|
||||
pub reviews: bool,
|
||||
pub watchlist: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user