pub struct Names {
pub format: &'static str,
pub notes_ref: &'static str,
pub inputs_ref: &'static str,
pub namespace: &'static str,
pub input_domain: &'static str,
pub canon_domain: &'static str,
pub producer: &'static str,
}Expand description
One complete set of the names a signed attestation lives under: its header, the two notes refs, the SSH namespace, the two fingerprint domains and the payload’s producer-line word. A note is read WHOLE under one set (SPEC.md, “Names”): its header says which, and the namespace, the domains and the inputs ref follow, so the two sets never mix inside one note.
Fields§
§format: &'static strFirst line of every payload.
notes_ref: &'static strThe notes ref, as git notes --ref wants it.
inputs_ref: &'static strThe fingerprint-keyed notes ref.
namespace: &'static strThe ssh-keygen -Y namespace.
input_domain: &'static strDomain of the input-fingerprint lookup key.
canon_domain: &'static strDomain of the canonical-tree lookup key.
producer: &'static strThe word that starts the producer line of a payload.
Trait Implementations§
impl Copy for Names
impl Eq for Names
impl StructuralPartialEq for Names
Auto Trait Implementations§
impl Forget for Names
impl Freeze for Names
impl Move for Names
impl RefUnwindSafe for Names
impl Send for Names
impl Sync for Names
impl Unpin for Names
impl UnsafeUnpin for Names
impl UnwindSafe for Names
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