#[non_exhaustive]pub struct RequiredWorkflowPin {
pub repository_id: u64,
pub sha: String,
pub check: String,
}Expand description
The namespace workflow an org ruleset pins (§9): which .vgi commit it
runs, and the check name its job reports.
The bridge records one per namespace when the required-workflow step
runs, and inspect compares the org ruleset against it: a pin the bridge
did not make is drift. Persist it (it is small and not secret) and hand it
back with GitHubForge::set_required_workflow_pin after a restart;
without it, inspect reports the pin as unverified until the step runs
again.
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.repository_id: u64Numeric id of <org>/.vgi.
sha: StringThe pinned commit.
check: StringThe check (job) name the workflow reports.
Implementations§
Trait Implementations§
Source§impl Clone for RequiredWorkflowPin
impl Clone for RequiredWorkflowPin
Source§impl Debug for RequiredWorkflowPin
impl Debug for RequiredWorkflowPin
impl Eq for RequiredWorkflowPin
Source§impl PartialEq for RequiredWorkflowPin
impl PartialEq for RequiredWorkflowPin
impl StructuralPartialEq for RequiredWorkflowPin
Auto Trait Implementations§
impl Freeze for RequiredWorkflowPin
impl RefUnwindSafe for RequiredWorkflowPin
impl Send for RequiredWorkflowPin
impl Sync for RequiredWorkflowPin
impl Unpin for RequiredWorkflowPin
impl UnsafeUnpin for RequiredWorkflowPin
impl UnwindSafe for RequiredWorkflowPin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.