pub struct AuthEvidence {
pub schema_version: String,
pub registry: String,
pub auth_mode: AuthEvidenceMode,
pub token_detected: bool,
pub oidc_request_url_present: bool,
pub oidc_request_token_present: bool,
}Expand description
Release-run authentication evidence observed by Shipper.
This record deliberately captures only non-secret runtime facts. In
particular, Cargo receives a CARGO_REGISTRY_TOKEN for both a
long-lived token fallback and a token minted by a Trusted Publishing
workflow action, so Shipper reports the observed auth context without
claiming token provenance it cannot prove from environment state alone.
Fields§
§schema_version: String§registry: String§auth_mode: AuthEvidenceMode§token_detected: bool§oidc_request_url_present: bool§oidc_request_token_present: boolTrait Implementations§
Source§impl Clone for AuthEvidence
impl Clone for AuthEvidence
Source§fn clone(&self) -> AuthEvidence
fn clone(&self) -> AuthEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthEvidence
impl Debug for AuthEvidence
Source§impl<'de> Deserialize<'de> for AuthEvidence
impl<'de> Deserialize<'de> for AuthEvidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthEvidence
impl PartialEq for AuthEvidence
Source§fn eq(&self, other: &AuthEvidence) -> bool
fn eq(&self, other: &AuthEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthEvidence
impl Serialize for AuthEvidence
impl Eq for AuthEvidence
impl StructuralPartialEq for AuthEvidence
Auto Trait Implementations§
impl Freeze for AuthEvidence
impl RefUnwindSafe for AuthEvidence
impl Send for AuthEvidence
impl Sync for AuthEvidence
impl Unpin for AuthEvidence
impl UnsafeUnpin for AuthEvidence
impl UnwindSafe for AuthEvidence
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.