pub struct Key {
pub key: &'static str,
pub kind: Kind,
pub default: Option<&'static str>,
pub required: bool,
pub about: &'static str,
}Expand description
One key of the catalogue.
Fields§
§key: &'static strThe key, dotted below a sub-table (sigstore.identity).
kind: KindWhat it holds.
default: Option<&'static str>Its default as JSON, when it has one.
required: boolThe section is refused without it.
about: &'static strWhat it does.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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