mirror of
https://github.com/xai-org/x-algorithm.git
synced 2026-02-13 03:05:06 +01:00
11 lines
351 B
Rust
11 lines
351 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Default)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct UserFeatures {
|
|
pub muted_keywords: Vec<String>,
|
|
pub blocked_user_ids: Vec<i64>,
|
|
pub muted_user_ids: Vec<i64>,
|
|
pub followed_user_ids: Vec<i64>,
|
|
pub subscribed_user_ids: Vec<i64>,
|
|
} |