pub enum TemporalAuthorityReason {
SignedBeforeActivation,
SignedAfterRevocation,
SignedAfterRetirement,
RevokedAfterSigning,
HistoricalRetiredKey,
TrustTierDowngraded,
InsufficientTrustAtSigning,
PrincipalRemoved,
TrustReviewExpired,
KeyUnknown,
PrincipalUnknown,
}Expand description
Reason a temporal authority check was annotated, downgraded, or failed.
Variants§
SignedBeforeActivation
Key had not been activated at event time.
SignedAfterRevocation
Event was signed at or after the key revocation effective time.
SignedAfterRetirement
Event was signed at or after the key retirement effective time.
RevokedAfterSigning
Key was revoked after the event, so historical evidence exists but current reasoning is downgraded.
HistoricalRetiredKey
Key was retired after the event; historical verification remains valid.
TrustTierDowngraded
Principal trust tier fell below the required gate after signing.
InsufficientTrustAtSigning
Principal did not meet the required trust tier at event time.
PrincipalRemoved
Principal was removed after signing.
TrustReviewExpired
Principal trust review has expired.
KeyUnknown
Key timeline was missing.
PrincipalUnknown
Principal timeline was missing.
Implementations§
Trait Implementations§
Source§impl Clone for TemporalAuthorityReason
impl Clone for TemporalAuthorityReason
Source§fn clone(&self) -> TemporalAuthorityReason
fn clone(&self) -> TemporalAuthorityReason
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 TemporalAuthorityReason
impl Debug for TemporalAuthorityReason
Source§impl<'de> Deserialize<'de> for TemporalAuthorityReason
impl<'de> Deserialize<'de> for TemporalAuthorityReason
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 Hash for TemporalAuthorityReason
impl Hash for TemporalAuthorityReason
Source§impl JsonSchema for TemporalAuthorityReason
impl JsonSchema for TemporalAuthorityReason
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TemporalAuthorityReason
impl PartialEq for TemporalAuthorityReason
Source§fn eq(&self, other: &TemporalAuthorityReason) -> bool
fn eq(&self, other: &TemporalAuthorityReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TemporalAuthorityReason
impl Serialize for TemporalAuthorityReason
impl Copy for TemporalAuthorityReason
impl Eq for TemporalAuthorityReason
impl StructuralPartialEq for TemporalAuthorityReason
Auto Trait Implementations§
impl Freeze for TemporalAuthorityReason
impl RefUnwindSafe for TemporalAuthorityReason
impl Send for TemporalAuthorityReason
impl Sync for TemporalAuthorityReason
impl Unpin for TemporalAuthorityReason
impl UnsafeUnpin for TemporalAuthorityReason
impl UnwindSafe for TemporalAuthorityReason
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