fedimovies/src/mastodon_api/settings/types.rs
2023-04-04 23:58:36 +00:00

23 lines
403 B
Rust

use serde::Deserialize;
#[derive(Deserialize)]
pub struct PasswordChangeRequest {
pub new_password: String,
}
#[derive(Deserialize)]
pub struct ImportFollowsRequest {
pub follows_csv: String,
}
#[derive(Deserialize)]
pub struct AddAliasRequest {
pub acct: String,
}
#[derive(Deserialize)]
pub struct MoveFollowersRequest {
pub from_actor_id: String,
pub followers_csv: String,
}