pub struct Instrument {
pub id: &'static str,
pub name: &'static str,
pub domain: &'static str,
pub attribution: &'static str,
pub prompt: &'static str,
pub items: &'static [&'static str],
pub options: &'static [ResponseOption],
pub bands: &'static [SeverityBand],
pub flags: &'static [FlagRule],
pub disclaimer: &'static str,
}Expand description
A self-report instrument definition (static data).
Fields§
§id: &'static str§name: &'static str§domain: &'static str§attribution: &'static str§prompt: &'static str§items: &'static [&'static str]§options: &'static [ResponseOption]§bands: &'static [SeverityBand]§flags: &'static [FlagRule]§disclaimer: &'static strImplementations§
Trait Implementations§
Source§impl Clone for Instrument
impl Clone for Instrument
impl Copy for Instrument
Auto Trait Implementations§
impl Freeze for Instrument
impl RefUnwindSafe for Instrument
impl Send for Instrument
impl Sync for Instrument
impl Unpin for Instrument
impl UnsafeUnpin for Instrument
impl UnwindSafe for Instrument
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