use serde::{Deserialize, Serialize}; use crate::model::{repository::RepositorySummary, user::User}; #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserDisplayNameRequest { pub user: User, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserDisplayNameResponse { pub display_name: Option, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserDisplayImageRequest { pub user: User, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserDisplayImageResponse { pub image_url: Option, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserBioRequest { pub user: User, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserBioResponse { pub bio: Option, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserRepositoriesRequest { pub user: User, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserRepositoriesResponse { pub repositories: Vec, }