pub struct TemporalAuthorityEvidence {Show 13 fields
pub key_id: String,
pub principal_id: Option<String>,
pub event_time: DateTime<Utc>,
pub now: DateTime<Utc>,
pub key_activated_at: Option<DateTime<Utc>>,
pub key_retired_at: Option<DateTime<Utc>>,
pub key_revoked_at: Option<DateTime<Utc>>,
pub trust_tier_at_event_time: Option<TrustTier>,
pub current_trust_tier: Option<TrustTier>,
pub current_trust_tier_effective_at: Option<DateTime<Utc>>,
pub minimum_trust_tier: TrustTier,
pub principal_removed_at: Option<DateTime<Utc>>,
pub trust_review_due_at: Option<DateTime<Utc>>,
}Expand description
Evidence used for temporal authority revalidation.
Fields§
§key_id: StringKey identifier carried by the attestation.
principal_id: Option<String>Principal bound to the key, when known.
event_time: DateTime<Utc>Signed event/audit time.
now: DateTime<Utc>Verification time.
key_activated_at: Option<DateTime<Utc>>Key activation effective time.
key_retired_at: Option<DateTime<Utc>>Key retirement effective time.
key_revoked_at: Option<DateTime<Utc>>Key revocation effective time.
trust_tier_at_event_time: Option<TrustTier>Trust tier at event time.
current_trust_tier: Option<TrustTier>Current trust tier.
current_trust_tier_effective_at: Option<DateTime<Utc>>Effective time for the current trust tier.
minimum_trust_tier: TrustTierMinimum trust tier required for current use.
principal_removed_at: Option<DateTime<Utc>>Principal removal time, when removed.
trust_review_due_at: Option<DateTime<Utc>>Principal trust review deadline.
Trait Implementations§
Source§impl Clone for TemporalAuthorityEvidence
impl Clone for TemporalAuthorityEvidence
Source§fn clone(&self) -> TemporalAuthorityEvidence
fn clone(&self) -> TemporalAuthorityEvidence
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 TemporalAuthorityEvidence
impl Debug for TemporalAuthorityEvidence
Source§impl<'de> Deserialize<'de> for TemporalAuthorityEvidence
impl<'de> Deserialize<'de> for TemporalAuthorityEvidence
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 JsonSchema for TemporalAuthorityEvidence
impl JsonSchema for TemporalAuthorityEvidence
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 TemporalAuthorityEvidence
impl PartialEq for TemporalAuthorityEvidence
Source§fn eq(&self, other: &TemporalAuthorityEvidence) -> bool
fn eq(&self, other: &TemporalAuthorityEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TemporalAuthorityEvidence
impl StructuralPartialEq for TemporalAuthorityEvidence
Auto Trait Implementations§
impl Freeze for TemporalAuthorityEvidence
impl RefUnwindSafe for TemporalAuthorityEvidence
impl Send for TemporalAuthorityEvidence
impl Sync for TemporalAuthorityEvidence
impl Unpin for TemporalAuthorityEvidence
impl UnsafeUnpin for TemporalAuthorityEvidence
impl UnwindSafe for TemporalAuthorityEvidence
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