pub struct CredentialRecord {
pub credential_id: String,
pub expires_at: OffsetDateTime,
pub grant_type: GrantType,
pub issued_at: OffsetDateTime,
pub payload: Value,
pub service_did: String,
pub service_url: Url,
}Fields§
§credential_id: String§expires_at: OffsetDateTime§grant_type: GrantType§issued_at: OffsetDateTime§payload: Value§service_did: String§service_url: UrlTrait Implementations§
Source§impl Clone for CredentialRecord
impl Clone for CredentialRecord
Source§fn clone(&self) -> CredentialRecord
fn clone(&self) -> CredentialRecord
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 CredentialRecord
impl Debug for CredentialRecord
Source§impl PartialEq for CredentialRecord
impl PartialEq for CredentialRecord
impl StructuralPartialEq for CredentialRecord
Auto Trait Implementations§
impl Freeze for CredentialRecord
impl RefUnwindSafe for CredentialRecord
impl Send for CredentialRecord
impl Sync for CredentialRecord
impl Unpin for CredentialRecord
impl UnsafeUnpin for CredentialRecord
impl UnwindSafe for CredentialRecord
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