forked from mirrors/relay
24 lines
587 B
Rust
24 lines
587 B
Rust
use activitystreams::iri_string::types::IriString;
|
|
|
|
pub mod client;
|
|
pub mod routes;
|
|
|
|
#[derive(serde::Deserialize, serde::Serialize)]
|
|
pub(crate) struct Domains {
|
|
domains: Vec<String>,
|
|
}
|
|
|
|
#[derive(serde::Deserialize, serde::Serialize)]
|
|
pub(crate) struct AllowedDomains {
|
|
pub(crate) allowed_domains: Vec<String>,
|
|
}
|
|
|
|
#[derive(serde::Deserialize, serde::Serialize)]
|
|
pub(crate) struct BlockedDomains {
|
|
pub(crate) blocked_domains: Vec<String>,
|
|
}
|
|
|
|
#[derive(serde::Deserialize, serde::Serialize)]
|
|
pub(crate) struct ConnectedActors {
|
|
pub(crate) connected_actors: Vec<IriString>,
|
|
}
|