//! Common format for several API members' basic fields.
useserde::{Deserialize, Serialize};useserde_json::Number;usesuper::image::Image;/// Several API members follow a common format for their basic fields.
////// This is indicated by a field of type [`BasicMembers`].
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]pubstructBasicMembers{/// The name of the member.
pubname: String,
/// The order of the member as shown in the HTML.
puborder: Number,
/// The text description or the member. Can be empty.
pubdescription: String,
/// A list of Markdown lists to provide additional information. Usually contained in a spoiler tag.
publists:Option<Vec<String>>,
/// A list of code-only examples about the member.
pubexamples:Option<Vec<String>>,
/// A list of illustrative images shown next to the member.
pubimages:Option<Vec<Image>>,
}