pub struct EnumMemberEntry {
pub spelling: String,
pub id: String,
pub display_name: Option<String>,
pub aliases: Vec<String>,
}Expand description
One member of an enum domain.
Fields§
§spelling: StringThe OPY member spelling (Hero.SOLDIER minus its head).
id: StringThe canonical catalog member id it lowers to.
display_name: Option<String>The English display name, when the catalog provides one.
aliases: Vec<String>The other source spellings the member accepts.
Trait Implementations§
Source§impl Clone for EnumMemberEntry
impl Clone for EnumMemberEntry
Source§impl Debug for EnumMemberEntry
impl Debug for EnumMemberEntry
Source§impl PartialEq for EnumMemberEntry
impl PartialEq for EnumMemberEntry
Source§impl Serialize for EnumMemberEntry
impl Serialize for EnumMemberEntry
impl StructuralPartialEq for EnumMemberEntry
Auto Trait Implementations§
impl Freeze for EnumMemberEntry
impl RefUnwindSafe for EnumMemberEntry
impl Send for EnumMemberEntry
impl Sync for EnumMemberEntry
impl Unpin for EnumMemberEntry
impl UnsafeUnpin for EnumMemberEntry
impl UnwindSafe for EnumMemberEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more