pub struct OrgStatus {Show 14 fields
pub recorded: RecordedRequirement,
pub present: bool,
pub source: Option<PathBuf>,
pub org: Option<String>,
pub policy_version: Option<String>,
pub enforced: bool,
pub issued_at: Option<String>,
pub signer_public_key: Option<String>,
pub signature_valid: bool,
pub trusted: bool,
pub applied: bool,
pub resolve_error: Option<String>,
pub pinned_anchors: usize,
pub floor_preview: Option<ResolvedPolicy>,
}Fields§
§recorded: RecordedRequirementThe stored requirement record, read as it is — not a verification.
present: bool§source: Option<PathBuf>§org: Option<String>§policy_version: Option<String>§enforced: bool§issued_at: Option<String>§signer_public_key: Option<String>§signature_valid: bool§trusted: bool§applied: bool§resolve_error: Option<String>§pinned_anchors: usize§floor_preview: Option<ResolvedPolicy>The resolved pack of the version-one artifact this status read — what
a floor made of it would be. A preview of stored bytes, independent of
trust and of applied; None without such an artifact.
Trait Implementations§
Auto Trait Implementations§
impl Forget for OrgStatus
impl Freeze for OrgStatuswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<Vec<String>>: Freeze,
impl Move for OrgStatus
impl RefUnwindSafe for OrgStatus
impl Send for OrgStatus
impl Sync for OrgStatus
impl Unpin for OrgStatus
impl UnsafeUnpin for OrgStatuswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
impl UnwindSafe for OrgStatuswhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more