2022-11-25 23:37:04 +00:00
|
|
|
use serde::Deserialize;
|
|
|
|
|
|
|
|
#[derive(Deserialize)]
|
|
|
|
pub struct PasswordChangeRequest {
|
|
|
|
pub new_password: String,
|
|
|
|
}
|
2023-01-08 21:40:41 +00:00
|
|
|
|
2023-01-10 20:46:57 +00:00
|
|
|
#[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,
|
|
|
|
}
|
|
|
|
|
2023-01-08 21:40:41 +00:00
|
|
|
#[derive(Deserialize)]
|
|
|
|
pub struct MoveFollowersRequest {
|
|
|
|
pub from_actor_id: String,
|
|
|
|
pub followers_csv: String,
|
|
|
|
}
|