Struct ssi_dids_core::RelativePath
source · pub struct RelativePath(/* private fields */);
Expand description
DID URL path.
Implementations§
source§impl RelativePath
impl RelativePath
sourcepub unsafe fn new_unchecked(data: &[u8]) -> &Self
pub unsafe fn new_unchecked(data: &[u8]) -> &Self
Creates a relative DID URL path from the given data without validation.
§Safety
The input data must be a valid relative DID URL path.
Auto Trait Implementations§
impl Freeze for RelativePath
impl RefUnwindSafe for RelativePath
impl Send for RelativePath
impl !Sized for RelativePath
impl Sync for RelativePath
impl Unpin for RelativePath
impl UnwindSafe for RelativePath
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