Struct ssi_dids_core::RelativeDIDURLBuf
source · pub struct RelativeDIDURLBuf(/* private fields */);
Implementations§
source§impl RelativeDIDURLBuf
impl RelativeDIDURLBuf
pub fn new(data: Vec<u8>) -> Result<Self, InvalidRelativeDIDURL<Vec<u8>>>
pub fn as_relative_did_url(&self) -> &RelativeDIDURL
Methods from Deref<Target = RelativeDIDURL>§
Trait Implementations§
source§impl Clone for RelativeDIDURLBuf
impl Clone for RelativeDIDURLBuf
source§fn clone(&self) -> RelativeDIDURLBuf
fn clone(&self) -> RelativeDIDURLBuf
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RelativeDIDURLBuf
impl Debug for RelativeDIDURLBuf
source§impl Deref for RelativeDIDURLBuf
impl Deref for RelativeDIDURLBuf
source§impl<'de> Deserialize<'de> for RelativeDIDURLBuf
impl<'de> Deserialize<'de> for RelativeDIDURLBuf
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RelativeDIDURLBuf
impl Display for RelativeDIDURLBuf
source§impl From<RelativeDIDURLBuf> for DIDURLReferenceBuf
impl From<RelativeDIDURLBuf> for DIDURLReferenceBuf
source§fn from(value: RelativeDIDURLBuf) -> Self
fn from(value: RelativeDIDURLBuf) -> Self
Converts to this type from the input type.
source§impl Hash for RelativeDIDURLBuf
impl Hash for RelativeDIDURLBuf
source§impl Ord for RelativeDIDURLBuf
impl Ord for RelativeDIDURLBuf
source§fn cmp(&self, other: &RelativeDIDURLBuf) -> Ordering
fn cmp(&self, other: &RelativeDIDURLBuf) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RelativeDIDURLBuf
impl PartialEq for RelativeDIDURLBuf
source§impl PartialOrd for RelativeDIDURLBuf
impl PartialOrd for RelativeDIDURLBuf
source§impl Serialize for RelativeDIDURLBuf
impl Serialize for RelativeDIDURLBuf
source§impl TryFrom<String> for RelativeDIDURLBuf
impl TryFrom<String> for RelativeDIDURLBuf
impl Eq for RelativeDIDURLBuf
impl StructuralPartialEq for RelativeDIDURLBuf
Auto Trait Implementations§
impl Freeze for RelativeDIDURLBuf
impl RefUnwindSafe for RelativeDIDURLBuf
impl Send for RelativeDIDURLBuf
impl Sync for RelativeDIDURLBuf
impl Unpin for RelativeDIDURLBuf
impl UnwindSafe for RelativeDIDURLBuf
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
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.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.