#[non_exhaustive]pub struct LookupEnumMember {
pub id: String,
pub display_name: Option<String>,
}Expand description
A canonical enum member reported by a lookup.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe canonical member id (SOLDIER_76, ALL).
display_name: Option<String>The member’s display name in the requested locale, when mapped.
Trait Implementations§
Source§impl Clone for LookupEnumMember
impl Clone for LookupEnumMember
Source§impl Debug for LookupEnumMember
impl Debug for LookupEnumMember
Source§impl PartialEq for LookupEnumMember
impl PartialEq for LookupEnumMember
impl StructuralPartialEq for LookupEnumMember
Auto Trait Implementations§
impl Freeze for LookupEnumMember
impl RefUnwindSafe for LookupEnumMember
impl Send for LookupEnumMember
impl Sync for LookupEnumMember
impl Unpin for LookupEnumMember
impl UnsafeUnpin for LookupEnumMember
impl UnwindSafe for LookupEnumMember
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