pub struct CredentialIssuedData {
pub credential_id: String,
pub credential_type: String,
pub valid_from: String,
pub valid_until: String,
pub status_list_index: Option<u32>,
}Expand description
Payload for AuditEvent::VmcIssued + AuditEvent::VecIssued.
The audit envelope’s target_did already carries the member;
this struct adds the credential id + type + the issuance
window so an investigator can correlate “who got which VC
when” without cross-referencing the credential store.
Fields§
§credential_id: StringVC id URI (typically urn:uuid:<server-allocated>).
credential_type: StringWire-form credential type ("VerifiableMembershipCredential"
for VMC, "VerifiableEndorsementCredential" for VEC).
valid_from: StringRFC3339 validFrom from the issued VC.
valid_until: StringRFC3339 validUntil from the issued VC.
status_list_index: Option<u32>Status-list slot for VMCs (revocation list). None for
VECs and other credential types that don’t carry a
status-list entry.
Trait Implementations§
Source§impl Clone for CredentialIssuedData
impl Clone for CredentialIssuedData
Source§fn clone(&self) -> CredentialIssuedData
fn clone(&self) -> CredentialIssuedData
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 CredentialIssuedData
impl Debug for CredentialIssuedData
Source§impl<'de> Deserialize<'de> for CredentialIssuedData
impl<'de> Deserialize<'de> for CredentialIssuedData
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
impl Eq for CredentialIssuedData
Source§impl PartialEq for CredentialIssuedData
impl PartialEq for CredentialIssuedData
Source§impl Serialize for CredentialIssuedData
impl Serialize for CredentialIssuedData
impl StructuralPartialEq for CredentialIssuedData
Auto Trait Implementations§
impl Freeze for CredentialIssuedData
impl RefUnwindSafe for CredentialIssuedData
impl Send for CredentialIssuedData
impl Sync for CredentialIssuedData
impl Unpin for CredentialIssuedData
impl UnsafeUnpin for CredentialIssuedData
impl UnwindSafe for CredentialIssuedData
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
impl<T, U> DeserializeTypedOwned<T> for Uwhere
U: for<'de> DeserializeTyped<'de, T>,
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.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
fn equivalent(&self, key: &K) -> bool
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.