pub struct Credential { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for Credential
impl Clone for Credential
Source§fn clone(&self) -> Credential
fn clone(&self) -> Credential
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 moreimpl Copy for Credential
Source§impl CredentialFields for Credential
impl CredentialFields for Credential
Source§fn credential_type(&self) -> Result<StandardBlob>
fn credential_type(&self) -> Result<StandardBlob>
Arbitrary data defining the type of credential this entry represents. The minimum length is
1 byte and the maximum length is 64 bytes.
Source§fn uri(&self) -> Result<Option<UriBlob>>
fn uri(&self) -> Result<Option<UriBlob>>
Arbitrary additional data about the credential, for example a URL where a W3C-formatted
Verifiable Credential can be retrieved.
Source§fn issuer_node(&self) -> Result<u64>
fn issuer_node(&self) -> Result<u64>
A hint indicating which page of the issuer’s directory links to this entry, in case the
directory consists of multiple pages.
Source§fn subject_node(&self) -> Result<Option<u64>>
fn subject_node(&self) -> Result<Option<u64>>
A hint indicating which page of the subject’s owner directory links to this entry, in case
the directory consists of multiple pages.
Source§fn previous_txn_id(&self) -> Result<Hash256>
fn previous_txn_id(&self) -> Result<Hash256>
The identifying hash of the transaction that most recently modified this entry.
Source§fn previous_txn_lgr_seq(&self) -> Result<u32>
fn previous_txn_lgr_seq(&self) -> Result<u32>
The index of the ledger that contains the transaction that most recently modified this
entry.
Source§impl Debug for Credential
impl Debug for Credential
impl Eq for Credential
Source§impl LedgerObjectCommonFields for Credential
impl LedgerObjectCommonFields for Credential
Source§fn get_slot_num(&self) -> i32
fn get_slot_num(&self) -> i32
Returns the slot number (register number) where the ledger object is stored. Read more
Source§fn path(&self) -> LedgerPathBuilder
fn path(&self) -> LedgerPathBuilder
Starts a nested-field path rooted at this ledger object, read through its slot. Read more
Source§impl PartialEq for Credential
impl PartialEq for Credential
impl StructuralPartialEq for Credential
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnsafeUnpin for Credential
impl UnwindSafe for Credential
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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