pub struct DidWeb {
pub host: String,
pub port: Option<u16>,
pub segments: Vec<String>,
}Expand description
A did:web identifier split into its host, optional port and path segments.
Fields§
§host: String§port: Option<u16>§segments: Vec<String>Trait Implementations§
impl Eq for DidWeb
impl StructuralPartialEq for DidWeb
Auto Trait Implementations§
impl Forget for DidWeb
impl Freeze for DidWeb
impl Move for DidWeb
impl RefUnwindSafe for DidWeb
impl Send for DidWebwhere
RawVecInner: Send,
impl Sync for DidWebwhere
RawVecInner: Sync,
impl Unpin for DidWeb
impl UnsafeUnpin for DidWebwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DidWebwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.