1 2 3 4 5 6 7 8 9 10 11 12 13 14
use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize)] pub struct IllustBookmarkInfoTag { is_registered: bool, name: String, } #[derive(Debug, Serialize, Deserialize)] pub struct IllustBookmarkInfo { is_bookmarked: bool, restrict: String, tags: Vec<IllustBookmarkInfoTag>, }