pub struct EnumValueDef {
pub id: &'static str,
pub comment: &'static str,
}Expand description
One value of an enumeration.
Fields§
§id: &'static strEnum.value, as the decoder keeps a value after its #.
comment: &'static strThe vocabulary’s rdfs:comment, as for ClassDef::comment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumValueDef
impl RefUnwindSafe for EnumValueDef
impl Send for EnumValueDef
impl Sync for EnumValueDef
impl Unpin for EnumValueDef
impl UnsafeUnpin for EnumValueDef
impl UnwindSafe for EnumValueDef
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