pub struct EnumValue {
pub value: String,
pub description: String,
}Expand description
An enum variant’s value.
This models the <value enum="..." description="..." /> elements in a field definition.
Fields§
§value: String§description: StringTrait Implementations§
impl Eq for EnumValue
impl StructuralPartialEq for EnumValue
Auto Trait Implementations§
impl Forget for EnumValue
impl Freeze for EnumValue
impl Move for EnumValue
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin for EnumValue
impl UnsafeUnpin for EnumValue
impl UnwindSafe for EnumValue
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