pub struct OutstandingCredential {
pub credential_id: CredentialId,
pub job_id: JobId,
pub issued_at: DateTime<Utc>,
pub revoked_at: Option<DateTime<Utc>>,
}Expand description
One outstanding credential ledger row.
Fields§
§credential_id: CredentialIdCredential id.
job_id: JobIdJob that owns the credential.
issued_at: DateTime<Utc>Issue timestamp.
revoked_at: Option<DateTime<Utc>>Revocation timestamp, if completed.
Trait Implementations§
Source§impl Clone for OutstandingCredential
impl Clone for OutstandingCredential
Source§fn clone(&self) -> OutstandingCredential
fn clone(&self) -> OutstandingCredential
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 OutstandingCredential
impl Debug for OutstandingCredential
Source§impl PartialEq for OutstandingCredential
impl PartialEq for OutstandingCredential
Source§fn eq(&self, other: &OutstandingCredential) -> bool
fn eq(&self, other: &OutstandingCredential) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OutstandingCredential
impl StructuralPartialEq for OutstandingCredential
Auto Trait Implementations§
impl Freeze for OutstandingCredential
impl RefUnwindSafe for OutstandingCredential
impl Send for OutstandingCredential
impl Sync for OutstandingCredential
impl Unpin for OutstandingCredential
impl UnsafeUnpin for OutstandingCredential
impl UnwindSafe for OutstandingCredential
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