#[non_exhaustive]pub struct AttestationNote {
pub hint: Option<Hint>,
/* private fields */
}Expand description
Note kind that represents a logical attestation “role” or “authority”. For
example, an organization might have one Authority for “QA” and one for
“build”. This note is intended to act strictly as a grouping mechanism for
the attached occurrences (Attestations). This grouping mechanism also
provides a security boundary, since IAM ACLs gate the ability for a principle
to attach an occurrence to a given note. It also provides a single point of
lookup to find all attached attestation occurrences, even if they don’t all
live in the same project.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hint: Option<Hint>Hint hints at the purpose of the attestation authority.
Implementations§
Source§impl AttestationNote
impl AttestationNote
Trait Implementations§
Source§impl Clone for AttestationNote
impl Clone for AttestationNote
Source§fn clone(&self) -> AttestationNote
fn clone(&self) -> AttestationNote
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttestationNote
impl Debug for AttestationNote
Source§impl Default for AttestationNote
impl Default for AttestationNote
Source§fn default() -> AttestationNote
fn default() -> AttestationNote
Returns the “default value” for a type. Read more
Source§impl Message for AttestationNote
impl Message for AttestationNote
Source§impl PartialEq for AttestationNote
impl PartialEq for AttestationNote
impl StructuralPartialEq for AttestationNote
Auto Trait Implementations§
impl Freeze for AttestationNote
impl RefUnwindSafe for AttestationNote
impl Send for AttestationNote
impl Sync for AttestationNote
impl Unpin for AttestationNote
impl UnsafeUnpin for AttestationNote
impl UnwindSafe for AttestationNote
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