#[non_exhaustive]pub struct EnumMemberMatch {
pub enum_type: String,
pub uri: String,
pub member: Value,
}Expand description
An enumeration member found by enum_member. #[non_exhaustive]: read
its fields; a later 1.x release may add one.
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.enum_type: StringThe enumeration class’s durable URI (its key in the schema’s enums).
uri: StringThe member’s durable URI as this schema keys it.
member: ValueThe member’s schema entry ({"label": ...}).
Trait Implementations§
Source§impl Clone for EnumMemberMatch
impl Clone for EnumMemberMatch
Source§impl Debug for EnumMemberMatch
impl Debug for EnumMemberMatch
Source§impl PartialEq for EnumMemberMatch
impl PartialEq for EnumMemberMatch
impl StructuralPartialEq for EnumMemberMatch
Auto Trait Implementations§
impl Freeze for EnumMemberMatch
impl RefUnwindSafe for EnumMemberMatch
impl Send for EnumMemberMatch
impl Sync for EnumMemberMatch
impl Unpin for EnumMemberMatch
impl UnsafeUnpin for EnumMemberMatch
impl UnwindSafe for EnumMemberMatch
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