pub struct DidUrl { /* private fields */ }Expand description
A Decentralized Identifier, including any path information, as a url.
Implementations§
Source§impl DidUrl
impl DidUrl
Sourcepub fn as_utf8_bytes(&self) -> &Utf8Bytes
pub fn as_utf8_bytes(&self) -> &Utf8Bytes
Gets the buffer representing the url as a reference counted slice that is guaranteed to be utf8.
Sourcepub fn method_specific_id(&self) -> MethodSpecificId<'_>
pub fn method_specific_id(&self) -> MethodSpecificId<'_>
Method-specific identity info.
Trait Implementations§
impl Eq for DidUrl
impl StructuralPartialEq for DidUrl
Auto Trait Implementations§
impl !Freeze for DidUrl
impl RefUnwindSafe for DidUrl
impl Send for DidUrl
impl Sync for DidUrl
impl Unpin for DidUrl
impl UnwindSafe for DidUrl
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