fedimovies/src/mastodon_api/settings/types.rs

23 lines
403 B
Rust
Raw Permalink Normal View History

use serde::Deserialize;
#[derive(Deserialize)]
pub struct PasswordChangeRequest {
pub new_password: String,
}
#[derive(Deserialize)]
pub struct ImportFollowsRequest {
pub follows_csv: String,
}
2023-04-02 21:23:04 +00:00
#[derive(Deserialize)]
pub struct AddAliasRequest {
pub acct: String,
}
#[derive(Deserialize)]
pub struct MoveFollowersRequest {
pub from_actor_id: String,
pub followers_csv: String,
}