pub struct TypeEnumVariantInfo<'a> {
pub name: &'a str,
pub description: Option<&'a str>,
pub details: TypeEnumVariant<'a>,
}
Expand description
Full information pertaining to an enum variant.
Fields§
§name: &'a str
Name.
description: Option<&'a str>
Description.
details: TypeEnumVariant<'a>
Details for the enum variant.
Auto Trait Implementations§
impl<'a> Freeze for TypeEnumVariantInfo<'a>
impl<'a> RefUnwindSafe for TypeEnumVariantInfo<'a>
impl<'a> Send for TypeEnumVariantInfo<'a>
impl<'a> Sync for TypeEnumVariantInfo<'a>
impl<'a> Unpin for TypeEnumVariantInfo<'a>
impl<'a> UnwindSafe for TypeEnumVariantInfo<'a>
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