pub struct EnumValue {
pub name: String,
pub value: String,
pub description: Option<String>,
pub since_version: Option<u16>,
pub deprecated: Option<u16>,
}Expand description
Enum valid value.
Fields§
§name: StringValue name.
value: StringEncoded value (as string, parsed based on encoding type).
description: Option<String>Description.
since_version: Option<u16>Since version.
deprecated: Option<u16>Deprecated since version.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumValue
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin 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