pub struct Attribute {
pub name: &'static str,
pub summary: &'static str,
pub required: bool,
pub values: &'static [&'static str],
}Fields§
§name: &'static str§summary: &'static str§required: bool§values: &'static [&'static str]Empty when any value is accepted.
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
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