pub struct OneOfSpec {
pub names: Vec<String>,
pub opts: Option<SectionOpts>,
}Expand description
A oneOf slot: exactly one of several headings must appear.
Fields§
§names: Vec<String>the headings, one of which must appear
opts: Option<SectionOpts>Auto Trait Implementations§
impl !RefUnwindSafe for OneOfSpec
impl !Send for OneOfSpec
impl !Sync for OneOfSpec
impl !UnwindSafe for OneOfSpec
impl Freeze for OneOfSpec
impl Unpin for OneOfSpec
impl UnsafeUnpin for OneOfSpec
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