pub struct DID { /* private fields */ }Implementations§
Trait Implementations§
impl Copy for DID
Source§impl DIDFields for DID
impl DIDFields for DID
Source§fn did_document(&self) -> Result<Option<StandardBlob>>
fn did_document(&self) -> Result<Option<StandardBlob>>
The W3C standard DID document associated with the DID. The
DIDDocument field isn’t checked
for validity and is limited to a maximum length of 256 bytes.Source§fn uri(&self) -> Result<Option<UriBlob>>
fn uri(&self) -> Result<Option<UriBlob>>
The Universal Resource Identifier that points to the corresponding DID document or the data
associated with the DID. This field can be an HTTP(S) URL or IPFS URI. This field isn’t
checked for validity and is limited to a maximum length of 256 bytes.
Source§fn data(&self) -> Result<Option<StandardBlob>>
fn data(&self) -> Result<Option<StandardBlob>>
The public attestations of identity credentials associated with the DID. The
Data field
isn’t checked for validity and is limited to a maximum length of 256 bytes.Source§fn owner_node(&self) -> Result<u64>
fn owner_node(&self) -> Result<u64>
A hint indicating which page of the sender’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 object.
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
object.
impl Eq for DID
Source§impl LedgerObjectCommonFields for DID
impl LedgerObjectCommonFields for DID
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
impl StructuralPartialEq for DID
Auto Trait Implementations§
impl Freeze for DID
impl RefUnwindSafe for DID
impl Send for DID
impl Sync for DID
impl Unpin for DID
impl UnsafeUnpin for DID
impl UnwindSafe for DID
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